How to attest

You sign one statement, a key and a value, with the key of one of your coins, and publish it from a satd node of your own. Aggregators, this site’s node among them, collect it from there and count it by what the coin holds. Nothing is spent or locked.

Before you start

Publishing names your coin. An attestation carries its outpoint, so anyone can link your statement to that coin, its amount and its history, for good. Sign with a coin you are willing to have identified with what you say.

Signing can show a key that was hidden. For a coin whose address has never been spent from (P2PKH, P2WPKH or a script), the signature publishes its public key or script, which until now only a hash stood for. For long-term holdings, weigh that before signing; a Taproot key-path coin already shows its key on chain.

Your node, reachable over Tor if you like. Your node serves the attestation to every peer that asks. Run it over Tor if you do not want the coin linked to your IP address.

  • The coin holds at least 10,000 sats.
  • It confirmed at least 6 blocks before the anchor; a coinbase coin also waits out its 100 blocks.
  • It counts until the coin is spent, or until its anchor is 26,208 blocks old, about six months.
  • A key is 1 to 128 printable ASCII characters, a value 0 to 128. There is no namespace.

1. Build the message

Run a satd node with -nap=1 (or nap=1 in its config file), and ask it for the message to sign:

sat-cli -signet createnapattestation "<txid>:<vout>" "bip_xyz.support" "yes"

It checks the coin exists, holds enough and is old enough, and answers with the message, the address to sign with, the signature formats the coin’s script takes, the same request as a psbt, and any warnings. The message is five lines and the anchor is a block 6 below the tip:

NAP attestation v1
outpoint: <txid>:<vout>
key: bip_xyz.support
value: yes
anchor: <height> <block hash>

Copy it exactly as the node returns it. A wallet that adds a newline at the end, or turns line endings into CRLF, signs different text, and the signature does not verify.

2. Sign it

Sparrow, a single-key coin
For a native segwit (P2WPKH) or Taproot key-path coin, Sparrow signs the message itself: open its message signing from the Tools menu, give it the address from step 1, paste the message whole and sign in the BIP 322 format. The signature starts smp.
A hardware wallet, through the PSBT
Most hardware wallets sign BIP 322 as a PSBT. Pass the coin’s public descriptor as a fourth argument to createnapattestation so the PSBT carries the key origins the device needs. A Coldcard signs it, shows it as a message, and returns the signed PSBT. Through Sparrow (a Ledger, for one) the device sees a transaction with one input, a zero-value OP_RETURN and no fee; Sparrow finalizes it and exports the signed transaction in hex. It spends nothing: do not broadcast it.
Multisig and other scripts
The descriptor puts the script in the PSBT. Each cosigner signs it; merge their PSBTs with combinepsbt, or use the coordinator’s combined PSBT. The node finalizes multi, sortedmulti, multi_a and any other script miniscript can satisfy.
A legacy P2PKH coin
Bitcoin Core’s signmessage, Electrum, Trezor or Jade sign it the old way; the node reads that signature as is.
sat-cli -signet createnapattestation "<txid>:<vout>" "bip_xyz.support" "yes" \
  "wpkh([a1b2c3d4/84h/0h/0h]xpub6C…/<0;1>/*)"

A Coldcard signs messages of up to 330 characters, so a key and value longer than about 140 together do not fit; createnapattestation warns.

3. Publish it from your node

Hand your node the message and the signature, the signed PSBT, or the signed transaction in hex:

sat-cli -signet submitnapattestation "$MESSAGE" "smpAkcwRAIg…"
sat-cli -signet listnapattestations

The node checks every rule and refuses an attestation that would not count, naming the rule. One it takes it stores, judges again at every block, and serves to any peer that asks, advertising the NAP service flag. Keep the node running and reachable: an aggregator collects from the publishers it can reach, when it connects and once an hour after.

Once this site’s node has collected it, the statement is in the report from the next block. This site does not take attestations itself yet.

Changing your mind

Sign again with a newer anchor: the newer attestation for the same coin and key replaces the older one everywhere it is collected. An empty value withdraws the statement. sat-cli -signet removenapattestation only stops your node publishing it; copies already collected count until they go stale or the coin is spent.

All of it in detail: the Operator Manual’s NAP chapter.