Skip to content

Architecture

Aegis runs on Sonic mainnet (chainId 146). Static clients (app, tge, this docs site) are hosted on Cloudflare Pages; settlement is always on-chain.

Layers

LayerRole
Wallet + browserHolds keys; optional local Groth16 proving
Sonic RPCReads contract state; submits signed transactions
PrivateTokenContractAGS ledger — visible balances + shielded commitments
VerifierFactoryOn-chain Groth16 verifiers per circuit family
Module contractsStaking, lending, pools, governance, auction, insurance, …
PrivacyEntryRouterEIP-712 relay for shield / transfer / unshield when public entry is governed

User flow

text
Sonic Gateway (Ethereum → Sonic)

Visible balance (AGS / bridged assets)

Shield → commitments (privacy set)

DeFi modules (swap, lend, stake, govern, …)

Unshield or selective disclosure (when needed)

Trading stack (honest split)

ModeWhat explorers see
Public AMMReserves, swaps, LP positions — full transparency
Governed routerRouted swaps across allowlisted pools
Limit / RFQTransparent escrow and EIP-712 intents
PrivateAMMPool state remains public; proofs gate policy, not hidden reserves

We do not market “private liquidity” where SonicScan can still read pool balances.

Authorization model

Only approved protocol modules can move shielded AGS. The app lists a module when it is live on Sonic mainnet.

Clients

ClientPurpose
Web appPrimary DeFi UI
Token saleDutch auction TGE
Sovereign nodeSelf-hosted proving / ops profile
Sonic extensionWallet companion (where published)

Source and signed releases: GitHub — Aegis.

Static documentation — wallets connect to Sonic RPC directly.