Deploy SVRN Chain

Chain parameters, predeploy addresses, deployment scripts, and OP Stack configuration for the SVRN L2.

Chain Parameters

ParameterValue
Chain ID741741
Block Time2 seconds
Gas Limit30,000,000 (30M)
Base Fee1 gwei UCU
EIP-1559 Denominator250 (Canyon)
EIP-1559 Elasticity6
Finalization Period7 days (604,800s)

Predeploy Addresses

AddressContract
0x4200000000000000000000000000000000000100UCUToken
0x4200000000000000000000000000000000000101OneWayBridge
0x4200000000000000000000000000000000000102ComputeBasketOracle
0x4200000000000000000000000000000000000103CitizenRegistry
0x4200000000000000000000000000000000000104SovereigntyIndex
0x4200000000000000000000000000000000000105QuadraticVoting
0x4200000000000000000000000000000000000106ConvictionWeighting
0x4200000000000000000000000000000000000107ConstitutionalGuard
0x4200000000000000000000000000000000000108Governor
SVRN predeploys occupy 0x4200...0100 through 0x4200...0108, above the standard OP Stack predeploy range.

Deployment

Local Deployment (Anvil)

Spin up a local Anvil fork and deploy all SVRN contracts with a single command.

# Start local chain
anvil &

# Deploy all contracts
forge script script/DeployLocal.s.sol:DeployLocal \
  --rpc-url http://127.0.0.1:8545 \
  --broadcast

Testnet Deployment (Sepolia)

Set environment variables and deploy to Sepolia testnet. The deployer account needs SepoliaETH for gas.

# Set environment variables
export DEPLOYER_PRIVATE_KEY="0x..."
export SEPOLIA_RPC_URL="https://sepolia.infura.io/v3/YOUR_KEY"
export ETHERSCAN_API_KEY="YOUR_KEY"

# Deploy to Sepolia with verification
forge script script/DeployTestnet.s.sol:DeployTestnet \
  --rpc-url $SEPOLIA_RPC_URL \
  --private-key $DEPLOYER_PRIVATE_KEY \
  --broadcast \
  --verify

Wright's Law Projections

TimelineCost per CUNote
Year 0$0.50 / CULaunch baseline
Year 3$0.25 / CU50% reduction
Year 6$0.12 / CU76% reduction from launch
Projections based on Wright's Law applied to compute costs. As cumulative compute production doubles, the cost per unit decreases by a fixed percentage. The UCU basket price automatically reflects these reductions through oracle updates.

OP Stack Notes

Sequencer Setup

SVRN runs a centralized sequencer at launch. The sequencer signs blocks with a dedicated P2P key and submits batches via the batch sender address. Decentralized sequencing is planned post-launch.

UCU as Native Gas

SVRN replaces ETH with UCU as the native gas token. This requires a forked op-geth binary that denominates all gas fees in UCU instead of ETH. The EIP-1559 parameters are tuned for compute workload predictability.

L2ToL1MessagePasser Disabled

The standard OP Stack L2ToL1MessagePasser at 0x4200...0016 is replaced with a contract that reverts unconditionally on initiateWithdrawal(). The L2StandardBridge operates in deposit-relay-only mode.

Upgrade Schedule

All OP Stack upgrades through Holocene are active from genesis (time offset 0x0). Isthmus and Jovian are omitted and will be enabled when SVRN is ready for those features.