Architecture
Architecture
Auton is a permissionless protocol where providers, consumers, and liquidity participants trade compute derivatives on-chain.
Overview
- Frontend — React Router app for markets, dashboard, staking, and treasury
- Backend API — Express server handling auth, keys, balances, and gateway proxy
- Database — Supabase Postgres for users, API keys, compute balances, staking ledger, and usage logs
- Chain — Elysium (Kinetiq L2) for wallet auth and $HYPE / $KNTQ / $USDC settlement. Native gas is $HYPE.
Backend API
Wallet auth uses EVM personal_sign messages — not Supabase Auth. A nonce endpoint returns a sign-in message; login verifies the signature and issues a JWT. All dashboard and staking routes require that JWT.
Express API → @supabase/supabase-js → Supabase PostgresInference gateway
The gateway is an OpenRouter-compatible proxy mounted at /api/v1/gateway/*. Requests authenticate with Auton API keys (hashed at rest). Usage is logged per request and deducted from forward compute balances.
On-chain layer
Deposits, marketplace purchases, chat top-ups, and withdrawals settle on Elysium. Users connect an EVM wallet through Privy (MetaMask, Coinbase Wallet, and other EVM wallets; Solana is not used). Sign-in is SIWE against chain ID 99901. Collateral is sent to the treasury vault, then credited as unified USD buying power in the ledger.
$AUTO is the protocol token for futures margin, verifier staking, and treasury buyback. The Elysium mint is live at 0xD6ACc5bF5Bc660411085c11C6ee2209c439a940F. Trading collateral today is $HYPE, $KNTQ, and $USDC.
Elysium network
| Field | Value |
|---|---|
| Network | Elysium (Kinetiq L2) |
| Chain ID | 99901 |
| RPC | https://rpc.elysium.kinetiq.xyz |
| Explorer | elysium.kinetiq.xyz/explorer |
| Native gas | $HYPE (18 decimals) |
| Bridged $USDC | 0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65 (6 decimals) |
| Bridged $KNTQ | 0xe45a355d9e9cAd2aD85F2d03E3eE3102A036acF0 (18 decimals) |
| $AUTO | 0xD6ACc5bF5Bc660411085c11C6ee2209c439a940F (18 decimals) |
Withdrawals send tokens from the treasury vault back to your wallet. The vault must hold a small amount of native $HYPE to pay gas on those ERC-20 transfers.