Architecture

Seven contracts, one token:

ContractModuleResponsibility
AurionToken$AURERC20 with hard cap, owner mint, public burn.
AurionRouterRouterrouteETH / routeTokenToEth with slippage guards.
AurionPairLPConstant-product ETH/$AUR AMM with LP shares.
AurionAirdropAirdropMerkle-proof token claims with a deadline.
AurionRaffleRaffleTicket raffle; winner takes the pot.
AurionVaultVaultStake $AUR, earn donated ETH pro-rata.
AurionBandsBandsFloor/ceiling price corridor with reserve.

Run locally

1. Contracts

cd contracts
forge test          # 31 tests
forge build

2. Local chain

anvil                # http://127.0.0.1:8545

3. Deploy

forge script script/Deploy.s.sol --rpc-url http://127.0.0.1:8545 --broadcast

4. Frontend

cp .env.example web/.env.local   # then fill in the addresses
pnpm install
pnpm --filter web dev             # http://localhost:3000

Demo mode

If the NEXT_PUBLIC_*_ADDRESS variables are empty, the console boots in DEMO MODE — every page renders simulated data and transactions instead of touching a chain. It never white-screens.

Key values

ParameterDefault
Max supply1,000,000,000 $AUR
Initial supply100,000,000 $AUR
Pool fee0.30% (30 bps)
Initial price0.0001 ETH / $AUR
Band0.0001 – 0.001 ETH

Back to the console.