Go-Live Checklist

Overview

This page provides a checklist for deploying Somnia applications to production (Mainnet). It ensures that all necessary environment variables, contract addresses, allowlists, and rollback strategies are correctly configured before launch.


Environment Variables

Example .env.production:

.env.production
SOMNIA_RPC_MAINNET=https://api.infra.mainnet.somnia.network/
PRIVATE_KEY=0xabc123...
EXPLORER_API_KEY=...
ALLOWED_ORIGIN=https://yourapp.com

Contract Addresses

Example config/addresses.json:


Allowlists

Example allowlist.json:


Rollback Plan

Having a clear rollback strategy is essential if something goes wrong during or after deployment. This should include both technical measures and operational procedures.

Technical Rollback Steps

Operational Rollback Steps


Best Practices

  • Always test on Shannon Testnet before mainnet deployment.

  • Pin dependencies & compiler versions for reproducibility.

  • Run audit checklist (see Smart Contract Security 101).

  • Monitor deployed contracts with logging & health checks.

  • Communicate launch windows to your community in advance.

Last updated