The canary
A Solana address that holds $POSTQ and that nobody can sign for. If anything ever moves out of it, someone has broken Ed25519, and anyone watching the chain sees it at once.
#Why it is built this way
- On the curve. A Solana address that is a valid curve point has a private key in principle, so only a forged Ed25519 signature can move its funds. That is what makes it a tripwire.
- Nobody knows the key. The point comes from hashing a public seed onto the curve (RFC 9380), never from a secret number times the base point.
- Prime-order subgroup. The point is checked to be neither the identity nor a small-order point, and to have the prime order of every real public key.
#The derivation
| Suite | edwards25519_XMD:SHA-512_ELL2_RO_ (RFC 9380 §8.5) |
| Tag | HASHVAULT-CANARY-V1 |
| Message | the exact bytes of the seed file |
- expand_message_xmd with SHA-512 to 96 bytes.
- Two field elements mod 2²⁵⁵ − 19.
- Elligator 2 onto curve25519, then the rational map to edwards25519.
- Add the two points, multiply by 8.
- Check, encode as 32 bytes, base58.
#Seed files
Four lines of printable ASCII, no trailing newline:
Vault Canary v1
network: solana-mainnet
anchor: bitcoin block 978,620 hash PENDING
statement: Nobody holds the private key of this address. If anything ever moves out of it, Ed25519 has been broken.
#Commit, then reveal
The mainnet template was published with PENDING in place of the hash of a Bitcoin block that had not been mined yet. Once that block has six confirmations, the 7 bytes PENDING are replaced by its hash, checked against two block explorers, and nothing else changes. That shows nobody picked the seed out of many after the fact.
#Check it yourself
The canary page re-derives the address in your browser. canary.py does it with the Python standard library alone and checks the RFC test vector first. watch.mjs watches it and posts to a webhook.
#What it can't tell you
A canary that hasn't moved proves nothing: an attacker can go after bigger wallets first. It reports a break only after one is used, and it watches Ed25519 alone.