RingforgeDocumentationBlocksTemplatesOpen the app
Building

Test runs

A dry run with the real Privacy Rings SDK, simulated on Solana mainnet. Nothing is signed or sent.

Test run walks the graph in order from its triggers. Screens and gates are checked against their settings. Money blocks are built as real transactions and simulated with simulateTransaction (signature check off, fresh blockhash):

  • Wallet connected: a Ring registration (buildRegistrationTransaction) for a fresh test Ring key.
  • Shield: a deposit (buildDepositTransaction) of the amount wired in, SOL or hSOL.
  • Private transfer and Unshield: the SDK build from a fresh test Ring, which checks every recipient's registration and then the balance before any proof. A fresh test Ring holds nothing, so the build stops at the balance check, which the run reports. Recipients without a registered Ring are flagged.
  • Swap and Convert to hSOL: a Jupiter quote, and for SOL inputs the swap transaction simulated.
  • The publish anchor: the fee and Memo transaction, simulated.

When a private transfer is on the path, the test run also generates a real Groth16 proof in your browser with the Privacy Rings prover runtime, for the SDK's reference 1-input, 2-output transfer, and verifies it. The proving key is downloaded from Helius' key CDN and checked against its SHA-256 pin.

When no wallet is connected, simulations use a public funded mainnet account as fee payer; the log says so. Connect your wallet and the simulations use it.

Each block turns green when its step built and simulated, amber when it needs something the dry run cannot provide (a registered recipient), red with the reason otherwise.