Architecture
How it works
Relay Mesh is a request-scoped onion path for JSON-RPC. Each hop peels only its own sealed layer. No single hop sees both your network identity and the plaintext query.
Packet flow
Client ──onion──► Hop1 (entry)
──blob──► Hop2 (middle)
──blob──► Hop3 (exit)
──JSON-RPC──► Target RPC
Response bubbles back up the same chain unchanged.Onion layering
- Innermost (exit): encrypt
{ rpcTargetUrl, rpcPayload }with Hop3's public key. - Middle: encrypt
{ nextHopUrl: Hop3, innerBlob }with Hop2's public key. - Outer (entry): encrypt
{ nextHopUrl: Hop2, innerBlob }with Hop1's public key.
Built client-side with @noble/curves (x25519) and @noble/ciphers (XChaCha20-Poly1305). The demo never proxies relay traffic through Vercel.
What each hop knows
- Entry — your IP + ciphertext. Cannot read the method or params.
- Middle — previous hop IP + next hop URL + ciphertext.
- Exit — plaintext RPC + upstream hop IP. Never your original client IP.
Anon-RPC
Anon-RPC leaves the anonymizing network's topology unspecified. Relay Mesh is built to be that network: a concrete multi-hop path that plugs into Anon-RPC's worker interface. Live pin details and Claims & Sources are in the project README; try the anon-rpc live demo with the published worker hash. For wallet and dApp wiring — demo steps, a browser-harness snippet, and caveats — see Use it with Anon-RPC on the homepage.