Monero's reputation as the default darknet market currency rests on a simple promise: payments that cannot be traced on-chain. But the promise has a second, quieter half, how you receive that Monero determines whether the privacy actually holds up in practice. Every vendor who accepts XMR faces the same operational question: how many addresses do I need, and how do I manage them without accidentally stitching my payment history back together? The answer is subaddresses, and using them correctly, or incorrectly, is the difference between a payment trail an analyst cannot read and one that unravels the moment a market database is seized. This guide covers how Monero subaddresses work at the protocol level, why vendors need to treat them as a managed resource rather than a convenience, and the operational discipline that keeps a large subaddress pool from becoming a liability. For the broader payment-currency comparison, see our guide to why Monero dominates darknet markets, and for the cryptographic foundation, our deep dive into ring signatures, stealth addresses, and RingCT.
The stakes are concrete. A vendor running one primary address and one subaddress per market leaks the entire revenue stream to anyone who can observe deposit timing, escrow release patterns, dispute clusters, and monthly volume curves all hang off a single address record. A vendor who generates a fresh subaddress per order, rotates them on uncorrelated schedules, and never reuses one across buyers gives an analyst thousands of unlinkable one-time payment targets instead. The difference is not marginal; it is the difference between a ledger and a haystack.
How Monero Subaddresses Actually Work
A Monero wallet address is a public key pair plus a view component: a primary address starts with 4, a subaddress starts with 8, and an integrated address, a legacy construct that embeds a payment ID, also starts with 4 but carries a different structure. Subaddresses were introduced as the replacement for payment IDs, which the network deprecated in 2019 because payment IDs were plain tags attached to transactions and created a linkage vector. A subaddress is not a tag. It is a genuinely different destination key derived deterministically from your wallet's spend key and private view key.
The derivation works on a two-level index. Every subaddress is identified by an account index and a subaddress index, each a 32-bit number, roughly four billion possible accounts, each holding roughly four billion subaddresses. From the wallet's public spend key and private view key, the software computes a per-subaddress spend key and view key, then hands the resulting 8-prefixed address to whoever will pay you. The sender performs a Diffie-Hellman-style computation against that subaddress's keys to produce the same kind of one-time stealth output key used for any Monero payment. Your wallet recognizes incoming funds by scanning the blockchain for outputs whose keys match its precomputed set of subaddress spend keys.
Three practical consequences follow from this design. First, payment detection is wallet-side: the wallet must know which subaddresses to look for. Official wallets look ahead through a window of subaddress indices and expand it automatically when payments arrive, but wallets built on the RPC interface or custom tooling require you to generate subaddresses in a controlled sequence and keep the wallet's look-ahead in sync. If your tooling skips indices, a payment can sit unrecognized until the wallet scans far enough ahead, a serious operational failure when buyers are waiting on confirmation. Second, subaddress generation requires the private view key, which means generating subaddresses needs either the full wallet or a view-only-plus-spend-key setup; a watch-only wallet holding just the view key can generate subaddresses for receiving, but cannot spend the funds that arrive. Third, subaddresses are deterministic: restore the same seed into a fresh wallet and the same subaddress sequence regenerates, which is convenient for recovery and dangerous if you assumed addresses would be "lost" with a wiped wallet. Wallet "accounts" are only labels grouping subaddresses; they are not separate keys and they do not isolate funds the way separate seeds do.
Why Vendors Need a Subaddress Strategy, Not Just Subaddresses
The default guidance, "use a different address per payment", is correct but underspecified for vendors. Buyers, markets, and payment processors each create distinct linkage pressures, and the right granularity differs per channel.
One subaddress per buyer. The most common vendor error is reusing a single "vendor deposit" subaddress across all customers. Any party that learns two payments went to the same address, a buyer comparing notes, a market admin reviewing deposit logs, an analyst correlating transaction amounts, has linked two customer relationships to one vendor identity. Issuing each buyer a unique subaddress at first contact means each buyer's payment stream terminates at a distinct on-chain destination. If the market later leaks its order-to-deposit-address mapping, the damage is compartmentalized per buyer instead of exposing the full customer base.
Fresh subaddresses for repeat buyers. Repeat customers are the highest-value linkage targets because their reorder behavior is predictable. A vendor who reissues the same subaddress to a repeat buyer effectively gives that buyer a stable identifier on-chain that persists across market migrations, listing changes, and PGP key rotations. Rotating to a new subaddress per order, or per order batch for high-volume buyers, keeps each transaction's destination unique while the vendor's internal mapping still connects them. The cost is bookkeeping, which is exactly why vendors need management tooling rather than manual address generation.
Channel-level separation. Most vendors operate across more than one payment surface: the market's internal payment system, direct wallet transfers for trusted repeat buyers, refunds, and vendor-to-vendor payments. Each surface should draw from a different subaddress range. Assign account indices by function, account 0 for market order deposits, account 1 for direct sales, account 2 for supplier payments, so that a leaked mapping for one channel cannot be cross-referenced against another. Because accounts are pure wallet-level groupings, this costs nothing on-chain and gives you a clean internal ledger structure.
Listing-level hygiene. Some vendors publish a deposit address per listing or per product category. That is defensible as long as each published address is used for exactly one purpose and retired when the listing changes. What is never defensible is posting your primary address anywhere public, in a market profile, a forum signature, a Telegram channel, because the primary address is the one address every observer will associate with your seed if any link ever surfaces.
Subaddress Management Best Practices for Vendors
Never reuse, never recycle. Once a subaddress has received funds, treat it as spent in the bookkeeping sense even though it can technically receive more. Never reissue a used subaddress to a different buyer, never republish an old address in a new context, and never let two buyers share one. The on-chain unlinkability of subaddresses protects you only while the address-to-entity mapping stays off-chain and uncompromised.
Track indices deliberately. Subaddresses are generated sequentially. Keep an encrypted index, the highest subaddress index issued per account, and the mapping from subaddress to order/buyer, in a separate location from the wallet itself. If your wallet is seized or your operating system is compromised, the seed and the index are the two artifacts an analyst wants; storing them together means one breach yields both the keys and the meaning of every address. Labels typed into wallet software are convenience only: they are not preserved on seed restore and they live inside the wallet file, so do not rely on them as your primary mapping.
Pre-generate a pool, verify look-ahead. For high-volume vendors, pre-generating a block of subaddresses and verifying the wallet's look-ahead window covers them avoids two failure modes: a payment arriving at an address the wallet has not yet scanned, and a rushed operator accidentally reusing an index during a busy period. After generating a batch, confirm the wallet actually recognizes a test payment to the last index before going live. RPC-based generation via the get_address method or equivalent wallet APIs lets you script this cleanly; manual GUI clicking does not scale past a few dozen addresses.
Use view-only wallets for monitoring. Your payment-detection wallet does not need spend keys. Running a view-only wallet, seeded from your public spend key and private view key, to watch incoming payments across all subaddresses reduces the blast radius of the machine that touches untrusted payment flows. The spend-capable wallet stays on an offline or air-gapped setup; confirmed incoming outputs are swept to it only when you choose. This mirrors the broader wallet-tiering discipline covered in our complete darknet market wallet security guide and the key-management details in our Monero key management deep dive.
Consolidate carefully, or not at all. The Monero documentation carries an explicit warning that matters enormously for vendors: sweeping the balances of many subaddresses into your primary address in a single transaction links all of those subaddresses together on-chain. For a vendor whose entire subaddress strategy exists to keep payment streams unlinkable, a periodic "sweep everything to primary" is a self-inflicted deanon. If consolidation is necessary, do it with individual transactions, one per subaddress, so each spend remains a separate, unlinkable event. In practice, many vendors never consolidate incoming subaddress funds at all; they simply spend from whichever subaddress received payment, using ring signatures to obfuscate the real inputs. The wallet handles this transparently, and the privacy outcome is strictly better than tidy bookkeeping.
Rotate on uncorrelated schedules. Subaddress pools have natural rotation points, when you migrate markets, change PGP keys, or rotate operating identities. Keep those events independent. If every subaddress rotation coincides with a PGP key rotation and a market migration in the same week, an analyst comparing timelines can stitch the identities together. Rotate subaddresses on their own cadence, driven by volume thresholds (e.g., retire an account index after N orders) rather than calendar events.
Privacy Analysis: What Subaddresses Hide and What They Don't
On-chain, subaddresses provide strong unlinkability. To an outside observer, a blockchain analyst, an exchange compliance desk, a researcher with the full Monero ledger, an output paid to a subaddress is indistinguishable from one paid to the primary address or to any other subaddress. The one-time stealth output key is derived from keys an observer cannot compute, ring signatures obscure which real output is being spent, and RingCT hides amounts. There is no on-chain marker saying "this is subaddress 47 of account 2." The official Monero documentation confirms subaddresses are a wallet-level convenience construct that does not affect consensus at all.
The linkages that matter for vendors are therefore almost entirely off-chain, and they are the ones management discipline controls:
Address reuse across contexts. If the same subaddress appears in two different markets, two different buyers' wallets, or a public listing and a private message, the linkage is created by humans, not cryptography. This is the single most common vendor failure and the easiest to prevent.
The Janus attack. Monero's developers disclosed in 2019 that subaddresses are not perfectly unlinkable against an active malicious counterparty. In the Janus attack, a payer sends funds to subaddress A but crafts the transaction so the recipient's wallet displays it as arriving at subaddress B. Repeating the probe across addresses can reveal which subaddresses belong to the same wallet. The attack requires the payer to interact with you adversarially and risks the attacker losing funds, so it is a targeted-threat consideration rather than a passive-observer risk, but it is precisely the threat model a vendor faces when a buyer, rival vendor, or undercover investigator is motivated to test your address structure. For most vendors, unique-per-buyer subaddresses are sufficient; for high-value targets facing active investigation, the Monero team's own guidance is that only separate seeds provide complete isolation between identities.
Wallet compromise and metadata. A subaddress pool is only as private as the wallet file, the seed backup, and the index mapping. A seized wallet reveals not just keys but the full subaddress table, every address ever generated, which lets an analyst match leaked market deposit logs to specific on-chain payments. This is why the index mapping, seed backups, and wallet files demand the same opsec as the addresses themselves, and why our vendor income transaction security playbook treats payment-destination management as a first-class operational layer.
Timing and flow analysis. Even with perfectly unique subaddresses, the pattern of deposits, timing relative to orders, amounts matching order values, escrow-release correlations, can link a subaddress stream to a vendor when combined with market-side data. Unique destinations prevent direct address matching; they do not erase behavioral fingerprints. Vendors should assume that any market leak combining order records with deposit addresses converts your subaddress pool into a labeled dataset, which is exactly why per-buyer compartmentalization matters: the leak reveals one buyer's relationship, not the whole book.
Subaddresses vs Integrated Addresses vs Separate Seeds
Three mechanisms get conflated in vendor discussions, and choosing between them is a real security decision:
Integrated addresses embed a 64-bit payment ID in a standard address. They require no private key to generate, a service can produce them knowing only the public address, and no sequential counter, so they suit automated payment systems where many independent components generate payment requests. But the embedded ID is a plain tag: a payer who reuses or shares an integrated address links payments, and payment-ID matching happens inside your wallet against a visible field. Integrated addresses remain appropriate for automated checkout flows where you need payment-reference matching without exposing key material, but they are weaker for vendor-to-buyer privacy than subaddresses.
Subaddresses are the right default for vendor deposit collection. Each is unlinkable to others and to the primary address, generation is cheap once tooling exists, and payment detection is automatic in official wallets. Their weakness is the shared wallet root: every subaddress ultimately resolves to one seed, so compromise of that seed exposes the entire pool, and the Janus attack applies within a single wallet.
Separate seeds, entirely independent wallets, provide the strongest isolation. Different seeds cannot be linked by Janus attacks, cannot be swept together accidentally, and compartmentalize catastrophic compromise: losing one wallet does not expose the others. The cost is operational: each seed is a separate wallet to maintain, back up, and monitor. The proportionate vendor setup is a tiered one, a primary operating wallet for day-to-day subaddress collections, separate wallets for high-value identities (a second market presence, a supplier relationship, a personal XMR reserve), and view-only wallets for monitoring. This mirrors the tiered wallet architectures vendors already use for hot and cold storage.
Vendor Subaddress Checklist
Before accepting your next XMR payment, verify the following:
- Unique destination per relationship. Every buyer gets a distinct subaddress; repeat buyers get rotated addresses; no address is ever shared between buyers or reused across markets.
- Primary address never published. The 4-prefixed primary address stays private; all public-facing deposit requests use 8-prefixed subaddresses.
- Account indices assigned by function. Market deposits, direct sales, supplier payments, and refunds draw from separate account ranges for clean internal segregation.
- Encrypted index mapping stored separately from the wallet, with recovery documentation that lets you rebuild the subaddress-to-order mapping after a device loss.
- Look-ahead verified. The wallet's subaddress scan window covers your pre-generated pool; a test payment to the highest issued index is detected before going live.
- View-only monitoring. Incoming-payment detection runs on view-only wallets; spend keys live offline or on hardened machines.
- No bulk sweeps. Subaddress funds are spent individually or consolidated via separate per-subaddress transactions, never a single sweep to primary that links the pool.
- Uncorrelated rotation. Subaddress rotation schedules are independent of PGP, market, and identity rotations.
- Seed backups encrypted and distributed, with the subaddress index mapping backed up through the same channel, never in the same file as the seed.
- High-value identities on separate seeds where the threat model justifies complete wallet-level isolation.
A note on legality and safety. This guide describes Monero address management for privacy and operational security. It is educational material about wallet mechanics, not an endorsement of any particular marketplace or activity. Cryptocurrency use for unlawful purposes, including operating or purchasing from illegal marketplaces, carries serious criminal exposure in most jurisdictions, and privacy tools do not create legal cover. Vendors and buyers should understand their local laws, tax obligations, and the realistic risk that payment rails, market infrastructure, and wallet opsec are all subject to investigation. Use these techniques to protect legitimate financial privacy; do not treat them as a shield for illegal enterprise.
Comments 0