Deploy SVRN Chain
Chain parameters, predeploy addresses, deployment scripts, and OP Stack configuration for the SVRN L2.
Chain Parameters
Predeploy Addresses
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 \
--broadcastTestnet 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 \
--verifyWright's Law Projections
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.