1. 1CommitCompany
  2. 2ProveClearing House
  3. 3VerifyClearing House
  4. 4SettleBoth

Clearing House: You collect everyone's rows, generate one proof of the whole netting, verify it on Soroban, and release the escrow to the receivers.

Prove & verify the round

No game scenario found, so this is a sample round. Generate one ZK proof of the whole netting and verify it on Stellar testnet. Play the game to prove your own numbers.

Debt matrix (owes ↓ / to →)

sample round
ABCD
A10000
B501000
C8000
D3000

Prove → Verify

  1. 1
    Generate proof off-chain (snarkjs)
  2. 2
    Verify proof on-chain (Groth16Verifier, BN254)

Connect a funded testnet wallet to verify the proof on-chain.

Who owes whom · private

gross 360
AowesB
100
BowesA
50
BowesC
100
CowesA
80
DowesA
30

5 separate debts — never revealed on-chain

ZK netting

What actually moves · public

Ayou
awaiting proof…
B
awaiting proof…
C
awaiting proof…
D
awaiting proof…