TESTNET

๐Ÿš€ Deployment Guide

Step-by-step deployment on Sepolia, Arbitrum, and Base

Deployment Steps
โœ“
Compile Circuits
circom withdraw_sentinel.circom --r1cs --wasm --sym
โœ“
Trusted Setup (Powers of Tau)
snarkjs groth16 setup withdraw.r1cs pot_final.ptau withdraw.zkey
โœ“
Generate Verifier.sol
snarkjs zkey export solidityverifier withdraw.zkey Verifier.sol
โœ“
Deploy Contracts
forge script DeployArbitrumFull.s.sol --broadcast --rpc-url sepolia --verify
โœ“
Grant Roles
Grant DEPOSITOR_ROLE to Treasury, configure fee (3%)
โœ“
Enable ZKML
Set zkmlEnabled=true on all pools via AdminFacet, deploy Halo2Verifier
โœ“
Start Relayer
docker-compose up -d (auto-binds to pools)
โœ“
Smoke Test
CLI deposit โ†’ withdraw (normal) โ†’ withdraw (panic) โ†’ verify dual-logic
Supported Networks
Sepolia
Chain ID: 11155111
โœ… Live
4 pools
Arbitrum Sepolia
Chain ID: 421614
๐ŸŸก Planned
โ€” pools
Base Sepolia
Chain ID: 84532
๐ŸŸก Planned
โ€” pools