Price:

BITCOIN

Max Tannahill hardens Bitcoin privacy by moving BIP47 database on-chain

Sunday, May 17, 2026 · from 1 podcast
  • A new protocol inscribes BIP47 reusable payment codes onto Bitcoin to replace centralized directories.
  • The move protects private payments from regulatory seizure by making peer discovery stateless.
  • Storing 20,000 codes cost ~$150, proving the directory can be backed up cheaply.

The weakest link in Bitcoin’s privacy infrastructure was a single server. When Samourai Wallet fell to regulators in 2024, its PayNym directory - a lookup table for reusable payment codes - could have gone dark. Wallets that relied on it for metadata would have lost the ability to recover transaction histories.

Max Tannahill built BIP47DB.org to remove that central point of failure. The protocol uses Ordinals inscriptions to compress and publish payment codes directly on the Bitcoin blockchain. This creates an immutable, append-only database that any wallet can scan locally to rebuild a directory of peers. Tannahill argues on-chain storage is the only way to ensure resilience against state interference.

The Ashigaru team, which maintained Samourai’s codebase after its legal issues, has already inscribed approximately 20,000 existing payment codes. At current fee rates, securing the entire directory cost only about $150.

"Moving this data onto the blockchain is the only way to ensure resilience against state interference."

- Max Tannahill, Ungovernable Misfits

The database solves a critical recovery gap. BIP47 lets users share a single payment code for repeated private payments. Restoring a wallet from a seed phrase shows incoming payments but often loses the history of connections the user initiated. Centralized servers like PayNym filled this gap by acting as a lookup table for notification transactions.

Tannahill’s on-chain index allows wallets to scan a specific 'numbers address' to find every registered payment code locally. This removes what he calls the 'metadata crutch.' Wallets like BlueWallet could support BIP47 without ever querying a central server.

The long-term vision is more radical. If every payment code is indexed on-chain, the 'notification transaction' could become obsolete. Receivers could scan new blocks for potential payments, similar to silent payments. This would shift the burden from the sender making a public announcement to the receiver consulting a decentralized list.

BIP47DB is designed as backend infrastructure for wallet and directory operators, not for direct retail use. The goal is to let the ecosystem survive the loss of any single PayNym server.

Six weeks after Bitcoin Core v31 shipped with new privacy hardening features, this move targets a different layer of the stack. Where ASMAP defends nodes from network-level attacks, BIP47DB defends payment metadata from application-level seizure.

Source Intelligence

- Deep dive into what was said in the episodes

Max Tannahill Reveals BIP47DB.ORG | FREEDOM TECH FRIDAY 40May 16

  • Max Tannahill explains BIP47 was proposed in 2015 as a non-interactive payment code standard to replace reusable addresses and provide a base privacy layer. It enables private, repeated payments without requiring a server to generate new addresses.
Also from this episode: (9)

Protocol (9)

  • Samourai Wallet implemented BIP47 in 2017 alongside other wallets like Billeater and Stash. The ecosystem aimed to combine BIP47 with CoinJoin for a comprehensive privacy stack, though this collaborative vision didn't fully materialize.
  • Samourai created the PayNym directory to improve BIP47's user experience. It provided human-readable pseudonyms and avatars, acting as a trusted lookup service for unwieldy payment codes similar to PGP key servers.
  • The PayNym directory served a critical recovery function. Wallets like Samourai and Sparrow could not rediscover outgoing notification transactions after a restore using only seed words, relying on the directory to rebuild connection metadata.
  • After Samourai's legal issues in 2024, the Ashigaru team scraped the PayNym directory, acquired the domain, and resurrected the service. This prevented a total collapse of BIP47's network effect but highlighted centralization risks.
  • Max Tannahill built BIP47DB.org to decentralize the storage of BIP47 payment codes by inscribing them on-chain using Ordinals. The protocol compresses codes into efficient batches, creating an immutable, append-only directory.
  • BIP47DB enables wallets to scan a canonical address to build a local database of payment codes, potentially removing dependency on centralized PayNym servers. It could also allow new payment directories to bootstrap from on-chain data.
  • The Ashigaru team inscribed approximately 20,000 payment codes on mainnet for a cost of roughly $135-$140. This demonstrates the low economic barrier to backing up the entire directory on-chain.
  • BIP47DB is designed as infrastructure for wallet and directory operators, not for direct retail use. Max Tannahill hopes it provides resilience, allowing the ecosystem to survive the loss of any single PayNym server.
  • The protocol's simplicity allows it to function without a full Ordinals indexer. Tools can query a single unspendable address via APIs like mempool.space to fetch and decode the inscribed payment code batches.