nodox docs

How nodox keeps your wallet out of it

A payment name and link on Solana that never shows your wallet. These pages describe what the code does today. Numbers come from runs on a local test network, and each one says so.

01Keys from 12 words

The recipient makes a key set in the browser from a 12-word BIP39 recovery phrase (128 bits). The seed gives two independent scalars, separated by domain:

s = SHA-512("nodox-v1/spend" ‖ seed) mod ℓ spend key
v = SHA-512("nodox-v1/view" ‖ seed) mod ℓ view key
S = s·G, V = v·G the public meta-address (S, V)

The meta-address is base58(0x01 ‖ S ‖ V). Keys never leave the browser. They are stored encrypted with your password (PBKDF2-SHA256, 600,000 rounds, then AES-256-GCM), and the app has no wallet connection. The same 12 words make the same keys on any device.

crypto-vectors.json · vector 1 (public test phrase)never use it for money
mnemonic   abandon abandon … abandon about
spendPub   14dde85360493cd41a7c63d9b6eca19092c0c363386606e64d92ed5760934ee0
viewPub    b0cddc16f322e7d07ab20d4ada7312ea75b1bb2737a2ee9278512925e3cb408d
meta       6Y4GdQBK7jdeaLhYrVCyugUaSrq8kc4g6tXqyWbpFeHAnTzy7gwpdh5ysZHZgoSGoScXadFHGU2ZeSDuowR6NWiQ

02One address per payment

Each payment address is made in the payer's browser. The payer installs nothing, connects nothing and signs nothing on the page:

r 64 random bytes from the browser, mod ℓ
R = r·G
k = SHA-512("nodox-v1" ‖ r·V) mod ℓ
P = S + k·G the one-time address
view tag = byte 0 of SHA-256("nodox-v1/tag" ‖ r·V)

The view tag comes from its own hash, not from k, so an announcement publishes no bits of the per-payment key (DECISIONS.md D10). It still lets a scanner skip 255 of 256 entries after one multiplication.

crypto-vectors.json · vector 1 paymentfixed r for the test only
r (big-endian)  0badc0ffee0ddf00d1234567890abcdef1234567890abcdef1234567890abcd
view tag        36
P               BMP5uQmaCLw3ZBjV2vYHxTZgRqcaGup23ubCHmDFsdvW

Before showing P, the page solves a small proof of work and posts (R, view tag, P) to the public log with POST /api/announce. The name is never posted. A rate tag, SHA-256("nodox-v1/ratelimit" ‖ name ‖ minute), caps each name at 30 new addresses a minute; the server keeps that counter in memory for the current minute only and never writes it (D8). Refreshing during the same visit shows the same P. The next visit makes a new one.

How the pay page checks the name

  1. GET /api/registry/name/<name> returns the entry, its Merkle leaf, an RFC 6962 inclusion proof and the registry root. The page rebuilds the leaf from the entry and checks the proof against the root. The server makes the tree, so this only shows the answer matches what the server published.
  2. It then asks the Solana RPC this build was made with, never one the nodox server picks, for every transaction carrying the name's reference key, sha256("nodox-v1/name-ref" ‖ name), and replays the registry ones with the same rules the indexer uses, against the registry address built into this bundle (D18). The history must end in the entry's owner and keys.
  3. If the chain disagrees, the page says "Do not pay" and makes no address. If the last change moved the name to a new owner who has not set payment keys, the page refuses it until they do. If the check cannot run, the page says "Not checked on chain": the keys then rest on the server's word. Names of 3 to 5 characters read "Registry proof only", because which $NDX burn met the price quote is not on chain. The check is as good as the bundle you loaded: compare its build hash on /verify.

Points are decoded strictly: non-canonical encodings, the identity and points with a small-order part are refused.

03Finding payments

The recipient's browser downloads the announcement log and the balance feed as whole files and keeps only its own entries, using the view key. No request names one of your addresses, so the requests themselves link nothing.

Z = v·R
if byte 0 of SHA-256("nodox-v1/tag" ‖ Z) ≠ view tag skip (255 of 256 stop here)
k = SHA-512("nodox-v1" ‖ Z) mod ℓ
keep the entry if S + k·G = P
scan of 96 announcements with the test view keydemo-inbox.json, local test network
scannedAnnouncements  96
found                 10
scanMs                359.1
first                 No. 004  P ENiecPmZTM4xsBDStFWK2b7fYB2mFnqXeNpGn4enAxTr  25.000000 USDC

The app keeps a checkpoint (the last minute file it scanned), so a return visit scans only new minutes, in Web Workers across the device's cores. Each minute file is checked against its root before it is scanned. A malformed point or a tag that matches by chance is skipped, never thrown. Tokens other than SOL, USDC and USDT are listed and marked unsupported.

Change addresses are never announced. Their ephemeral scalar is ri = SHA-512("nodox-v1/change" ‖ v ‖ i), so a restored key set finds them again from the 12 words, scanning i forward with a gap limit of 20.

04Spending and the relayer

The one-time key is p = s + k mod ℓ, checked against P before use. One one-time address goes in each transaction, never several. Signatures are RFC 8032 Ed25519 with the scalar given directly; the nonce comes from SHA-512("nodox-v1/nonce" ‖ p) and the message, and the public key is derived inside the signer.

An address that holds only USDC has no SOL for the network cost, so a relayer pays it. The relayer accepts a fixed set of instructions (D7), is the fee payer and never a source of funds, and never holds anyone's money. When a send creates a token account for the destination, the relayer fronts its rent and gets it back when that account is closed later (D3).

validator-spike.json · token sweeplocal test validator
oneTime        HmLsrVCAJEdoBRCy5dyyJ4EGU6Zu5ugbhaF2dePvkQpK
sweepSig       4mAhZkQLsyEcQtr15Urh3xou5akt734UfEdCBHDWMgUMVNvef3JkaUHBWx3D1GoUVnpkU51q2LCCuTLAcbTuxsq6
destOneTime    Akcuj6nAuo2HruEF9HHmLkiAM1DD2SjFx5gYQsvSvM4N
sourceClosed   true
relayerDelta   -10000 lamports (two signatures; rent fronted and returned)

Sending to another name

The app makes a fresh one-time address of that name and announces it before the send, so the payment goes one-time address to one-time address. Outside observers see neither main wallet.

Partial sends and change proofs

Every relayed send empties its source. When you send part of a balance, the rest goes to your own next change address. The transaction carries a change proof: a signature by the change address's one-time key over the transaction message (D12). The relay then knows that leg is yours and charges only on what leaves your keys. The relay operator learns which destination is change; the chain does not mark it.

Delayed sends

A send can wait a random 5 to 60 minutes. A normal signed transaction expires after about a minute, so a delayed send uses a durable nonce leased from the relayer's pool (D1). The relayer can submit it or not, but cannot change it: the one-time key's signature covers the whole message.

Built-in warnings

Sending to your own main wallet shows "This payment will be linked to your wallet." and asks you to confirm. An exchange deposit address shows that the exchange knows you.

Refused by the relayer

Payments funded by an address on the OFAC SDN list, plus abuse caps everywhere. Blocking SDN property is a legal duty, and the list is the official one, refreshed every 6 hours: an address taken off it is moved again at the next refresh.

Payments from hack-listed wallets

A wallet named in a public hack report is not a sanction, and reports can be wrong. So nodox never holds such a payment back (D19): the app shows a warning, and after you tick that you have read it the relay moves it like any other payment. A wallet goes on that list only when two reports on different sites print its address, and only attacker wallets, never token accounts or exchange addresses.

05The announcement log and the balance feed

Both are public files. The log holds one entry per pay-page visit, {R, viewTag, P, t} (plus an optional encrypted note only the recipient can open), with R and P as base58 32-byte points. Entries are filed by arrival time into UTC minutes. When a minute closes, its file is written once and served from /log/<minute>.json; /log/index.json lists every minute with its count and root. Many entries are never paid: a visitor opened a pay page and left.

a minute file (test network sample)/log/2026-11-26T20:26.json
{ "minute": "2026-11-26T20:26", "count": 1,
  "root": "e8149a49c17bf99e5bd9bc559daa0ff5a77b39ee61235525dc3df995054786dc",
  "items": [ { "R": "7EdCeRnmb2CLHT5vTD42Vv2obuAVk4xBJ2NPAuyiDzM5", "viewTag": 79,
               "P": "zsLyZcch8KySC5sGMkoXyyVeGV5H3KZMzfbeBA7a12h", "t": "2026-11-26T20:26:40.785Z" } ] }

The root is an RFC 6962 Merkle root over each entry's bytes: R(32) ‖ P(32) ‖ viewTag(1) ‖ uint64BE(unix ms) ‖ uint16BE(noteLength) ‖ note.

The balance feed, /feed/latest.json, lists only one-time addresses that hold something, {P, sol, usdc, usdt, other}, read from the chain in batches with the slot and the time. New addresses are read often and old ones rarely: every 15 seconds in the first hour, then every minute for a day, every 10 minutes for a week, then every 6 hours, and addresses with a balance every minute.

06Names and the registry

A name is 3 to 20 characters of a to z, 0 to 9 and single hyphens. Site routes such as /docs, /names and /verify are reserved, and names that copy a brand, exchange, wallet, project or public figure are blocked, including look-alike spellings such as a zero for an o. Short names (3 to 5 characters) are bought by burning nodox ($NDX); names of 6 or more are free apart from a small SOL send. /names shows the exact cost before anything is signed.

Registration is one Solana transaction that always touches the registry address (D6). The meta-address itself is sent off-chain first; the memo carries its hash, so the registry only accepts a meta-address whose hash is on chain.

ActionMemoAlso in the transaction
Free name (6+)nodox:reg:<name>:<metaHash>a SOL transfer from the signer to the registry address
Short name (3 to 5)nodox:reg:<name>:<metaHash>a burn of the quoted $NDX by the signer, and a zero-lamport transfer to the registry address
New keysnodox:meta:<name>:<metaHash>a transfer from the current owner to the registry address
New ownernodox:xfer:<name>:<newOwner>a transfer from the current owner to the registry address

The indexer reads finalized transactions that touch the registry address; the first valid registration of a name by slot wins (ties in a slot go to the lower signature). Every registry transaction also carries the name's reference key, so anyone can replay a name's history from the chain. The wallet that signs owns the name and is public.

/registry.json lists every name. Each leaf is utf8("nodox-v1/registry") ‖ u8(nameLength) ‖ name ‖ S ‖ V ‖ owner ‖ uint64BE(slot), sorted by name; the root goes on chain every hour.

07Checking it yourself

Every closed minute with entries gets an SPL Memo on Solana, nodox:log:v1:<minute>:<root>:<count>, and every hour the registry root, nodox:regroot:v1:<hour>:<root>:<count>, both signed by the server's proof wallet. A root only counts as proven once its transaction is confirmed; without SOL in that wallet the roots wait and are shown as not proven yet. /verify downloads the files, recomputes the roots in your browser and reads each memo from the chain through this build's RPC.

The web app is a static bundle. /api/build lists the sha256 of every file, and the build hash is the sha256 of the sorted lines <sha256>␠␠<path>, the same text sha256sum prints. Build the same commit yourself and compare, or run your own copy locally.

08x402 middleware and MCP tools

API sellers swap a fixed payTo for nodoxPayTo() from @nodox/x402. Paid requests land in one-time addresses of the seller's meta-address (one per payer per hour), so the income does not show as one stream. The nodox facilitator settles with the relayer as fee payer.

The MCP server gives AI agents pay_name, create_pay_link, list_incoming, quote_relay and x402_fetch. Details on /x402.

09What opens when

Everything below is built. Features open one at a time after launch on a fixed schedule, read live from this server:

Reading the schedule from this server.

10What stays public and what is hidden

WhatPublic or hidden
Sender's walletPublic
Amount and timePublic
Recipient's main walletHiddenuntil they move funds to it
Recipient's total incomeHidden
Name to one-time addressHiddenneeds the view key
The wallet that registered a namePublicregistration is an on-chain transaction
What our server seesWhen announcements are posted, and relay requests. It stores no names, keys or IPs.

Remaining risks

Amount and time can be matched. An unusual amount at a known time can be tied to a sender and a recipient by someone who knows about the payment.

Moving funds to a main wallet links them. The app warns and asks you to confirm first.

The moment a pay page opens can match the deposit. Someone who sees you open a pay page can pair that visit with its address.

The registering wallet is tied to the name. Register from a wallet you do not mind being public.

The full list, with what nodox does about each one, is on /how.

11Measured

285/sannouncements scanned per second per core, Node 24 on the build PC, 5,000 samples (264/s with another heavy job running)
0false positives in those 5,000 scans
5 of 5random one-time keys landed transactions on a local validator

10,000 random key pairs pass find, spend, sign and verify with three independent verifiers: @noble/curves, Node's built-in crypto and tweetnacl. A wrong view key never found a payment. Transactions signed by one-time keys landed on a real Solana validator with signature checks on. The test vectors are public. All curve math comes from @noble/curves, which has been audited; the nodox code that composes it has not.

12Token and supply

Token facts load with this page's script.

13What is not proven yet

  • No external audit of the nodox cryptography yet. The review is pending.
  • No legal review yet.
  • Exchanges are untested: sending from or to each exchange has not been tried.
  • Measured figures (scan speed, the 10,000-pair test, relay costs) come from a local test network. Live counts and the on-chain supply are read from the running server and the chain.
  • On mainnet the pay page's on-chain name check needs a browser-friendly RPC with full history in the build; until one is set it reads "Not checked on chain", and the keys rest on the server's word.