Build a Ring in the Sandbox

The Sandbox

The Sandbox runs the governance of a Custom Ring today, before Storage is deployed on any public cluster. Every console action is a record signed in your browser by the key that holds the role. The Sandbox replays the records with the checks the ring program makes (role signer, auditor fixed at init, one curator tree per policy, policy rules on every transfer) and refuses a record its signer has no right to make. Accepted records are Memo transactions on the Sandbox validator. Transfer openings are sealed to the Ring's auditor key, and a house Ring makes transfers around the clock so there is always activity to read.

The shielded pool, the ring program and the prover join the Sandbox as the cluster zolana-ring localnet builds; the ring.toml you download already targets it.

Steps

  1. Ring. Pick a kind and a template, name the Ring, then create and deploy. The program keypair and a deployer key are made in your browser.
  2. Key Ceremony. Give the admin, policy authority, pauser and co-signer admin four different holders. See Key Ceremony and roles.
  3. Auditor key. Check your Ring RPC, then confirm its auditor public key. It becomes permanent at init.
  4. Initialise. The Ring goes live with its policy pinned at generation 1.

Same Ring from the CLI

Each Ring page downloads a ring.toml in the CLI's own format and lists the commands that reproduce the Ring:

zolana-ring new dao-payroll
zolana-ring deploy --program-so target/deploy/custom_ring.so
zolana-ring init
zolana-ring list add allow <owner> <owner>
zolana-ring authority transfer <squads vault> --yes

API and SDK

Read the Sandbox state with GET /api/sandbox/state, a Ring's config with GET /api/rings/<id>/toml and the curator catalogue with GET /api/catalogue. Records are posted to POST /api/sandbox/records, signed with Ed25519 over ringfactory/sandbox/v1 and the canonical record body.

MCP server

Agents connect to /api/mcp over HTTP. Tools: list_rings, ring_status, ring_lists and curator_lists. All of them read; none of them can sign.