What these transactions prove
- A program-derived address can be the settlement authority of a Solana Foundation DvP trade, and it settled one on devnet.
- Unregistered trades, revoked credentials and early close attempts are refused on chain.
- Registered, credentialed trades settle, and the rent DvP sweeps is returned to the address the parties chose.
- Anyone can trigger settlement: a wallet with no role in the trade did, and a keeper script found a trade by itself.
- A rejected trade's registration can be closed and its rent returned.
- Plain Token-2022 trades settle too: DvP alone settled one, then a Referee-gated one. Mint extensions are not checked.
- A program can be the credential issuer: a minimal Verifex checked one thing and issued credentials by CPI, and a refused agent got none. It does not yet bind the program to the subject.
- A second Verifex instruction issues a credential only for the executor of a Passed commitment on a devnet-only copy of TrustRail: a wrong subject was refused, the right one traded and settled. TrustRail's Passed is a weak gate and its swap is a stand-in.
Devnet only, unaudited. Credentials are a demonstration, not KYC: the issuer is the author's demo key or the minimal Verifex program.
Security checks
Checked on 17 October 2026. These are point-in-time checks of the patterns and addresses named, not proof that nothing sensitive exists. The programs are devnet and unaudited.
- Key scan: the full git history of this repository was scanned with scripts/keyscan.py. It found no valid Solana keypair, private-key block or common token pattern. GitHub secret scanning also shows no alerts on this repository.
- Gitleaks v8.30.1, an independent scanner, reported 10 matches in this repository. All are one value: the public address of this program authority account (see Program funds below), assigned to the constant EXPECTED_AUTH in the scripts. They are listed in .gitleaksignore, and the full account of the check is at ishvir.xyz/security.
- Authorship: every commit is authored by my GitHub account, and the contributors graph lists one contributor.
- Wallets: the 56 receipts in docs/RECEIPTS.md were signed by 14 distinct addresses, three of which are program addresses. Each holds 0 SOL on mainnet.
- Receipts against the chain: the ledger of calls to Referee holds 43 transactions. 37 are receipts and 6 appear on this page only. The other 19 receipts do not call Referee.
- Program funds: the authority address (a program-derived address) held 0.01190752 SOL on devnet when I checked. No instruction withdraws it. The only transfer out is the rent refund during settle.
- Upgrades: the program is upgradeable by my wallet and has had seven in-place upgrades: five are listed in the receipts and two are in docs/FIXES-18-OCT.md.
Full statement and how to repeat it: ishvir.xyz/security.
Full timeline
Why Solana, why now?
Settlement comes down to who gets to say “now”. On Solana that can be a program, not a person.
- A program can be the signer. A program-derived address has no private key, so nothing can sign for it except the program it was derived from. That is all of Referee: the DvP trade names that address as its settlement authority, and only Referee's code can use it.
- Refusals are receipts. A refused settle still lands on chain, costs the 5,000-lamport fee and stays there for anyone to check: error 3012 for an unregistered trade, 6012 for a revoked credential. 56 devnet signatures, 6 refusals, all in the repo.
- The settlement layer is public. The Solana Foundation's DvP program swaps two tokens atomically, and Cantina reviewed it in May 2026. I did not change a line of it. Referee sits beside it.
- Why now. DvP is being built in the open: as of 19 October 2026 it has open pull requests for confidential settlement and Token-2022 mint extensions. A settlement authority that is a key somebody holds is the part I wanted to take out, and replacing it with rules is possible today. That is my read, not a claim about anyone's roadmap.
Devnet only, unaudited.