Prove ETH balance + wallet ownership privately via Anon-RPC. No backend, no IP leak, no attestor.
Veilproof is a private proof-of-funds app for Ethereum mainnet. A user connects a wallet (or pastes an address), fetches an EIP-1186 account proof through Anon-RPC, verifies the Merkle path locally, and shares a self-contained link. The claim and proof travel in the URL fragment, so the verifier needs only eth_getBlockByHash to re-check it against the block state root — no backend, no attestor, and no trusted prover.
Veilproof also proves ownership. The connected wallet signs an EIP-191 message binding the chain, address, block hash, and balance. The signature is embedded in the link; the verifier recovers the signer and requires it to match the address. Unsigned links are clearly labeled Address-only, so a random address can prove its balance but cannot claim ownership.
All RPC reads go through Anon-RPC, with Nym as the default worker and Tor or passthrough selectable. The only direct request is the public worker-specifier lookup needed to bootstrap the sandbox, documented as an intentional tradeoff. Mendax, a malicious worker wrapper, and an Attack Lab show balance lies, forged proofs, and forged headers being rejected. The app is static and CROPS-friendly: IPFS/ENS, MIT, no analytics, no wallet required for address-only checks. It proves native ETH at a specific block; ERC-20 support would require storage proofs.
Veilproof is a Vite 8, I used @anon-rpc/browser-harness 0.4 to create one long-lived AnonRpcWorker per network. A worker is selected by an on-chain specifier — Nym by default, with Tor and passthrough as alternates. A single preExisting RPC provider reads the specifier before the private transport exists; after that, every proof and verification read goes through worker.fetch.
For the proof, the worker calls eth_getProof with EIP-1898 blockHash pinning and eth_getBlockByNumber/ByHash. The browser verifies the account proof with @ethereumjs/trie against the block stateRoot and decodes the account leaf; viem handles Ethereum encoding, address checks, and EIP-191 signature recovery. Pinning to a block hash avoids the latest-block race. The proof and optional owner signature are embedded in the URL fragment, so the verifier re-fetches only the block header and checks the linked proof against its state root.
Two details were intentionally hacky. First, embedding the proof in the link works around public RPCs pruning eth_getProof history. Second, the production CSP includes a hash for the Anon-RPC harness bootstrap and the inline app bundle. For IPFS, I added a single-file build that inlines JS, CSS, and the favicon, then injects the correct CSP hash, because public pinning endpoints accept one file; the resulting CID is reproducible.
Anon-RPC is the core partner technology: Nym anonymizes nearly all traffic by default, the UI exposes alternate workers, and the direct bootstrap read is disclosed rather than hidden. Mendax wraps the real worker and tampers with JSON-RPC responses; the Attack Lab runs three tampered bundles against the real block.

