Protocol Architecture
How Helius Solana Privacy Rings, Provable Authority Mandates, A402 Atomic Escrows, AgentValve Trust Capacity, and Solana Confidential Compute compose inside tova_core.
End-to-End Shielded HTTP 402 Loop
Program ID: C5K5LF7CGN5zKf7mxHxy5PYQHnvzHEui7dtkLZ1ytmb9On-Chain Invariants
Enforced by tova_coreEvery spent Ring note nullifier initializes a unique NullifierRecord PDA. Reusing a nullifier fails unconditionally at runtime.
Every open_settlement Groth16 proof verifies amount <= per_call_cap, epoch_spent + amount <= epoch_budget, and Merkle inclusion in RingVault.merkle_root.
Escrowed commitments move to the provider only when claim_settlement verifies an active TEE attestation signature bound to request_hash before deadline_slot; otherwise refund_settlement restores them to RingVault.
provider.active_unsettled + settlement_cap_bound <= provider.staked_capacity holds across every open escrow so Sybil endpoints cannot over-reserve agent capital.
Account & PDA Layout
12 instructions · 6 PDAs["config"]Global authority, fee_recipient, fee_bps (25 bps default), pause flag, counters.
["ring_vault", principal, mint]Encrypted commitment Merkle root, note count, viewing-key tag, SPL/SOL escrow ATA.
["mandate", vault, mandate_id_le]Agent signing key, per-call & epoch commitments, allowed provider root, expiry, active flag.
["provider", provider_pubkey]Hardware attestation pubkey (IntelTDX / AmdSevSnp), expiry slot, capacity stake, active unsettled volume.
["settlement", mandate, settlement_id_le]Request hash, amount commitment, nullifier hash, deadline slot, Open/Claimed/Refunded status.
["nullifier", vault, nullifier_hash]Single-use spent marker preventing any replay of an encrypted Ring note.