# Multichain Deployment Quick Reference **Last Updated**: 2025-01-27 ## 🚀 Quick Start 1. **Set up environment**: Copy `.env.example` to `.env` and fill in values 2. **Check balances**: Ensure wallets have sufficient native tokens (see below) 3. **Deploy**: Use commands in [Multichain Deployment Runbook](./MULTICHAIN_DEPLOYMENT_RUNBOOK.md) --- ## 💰 Required Native Tokens (Quick Reference) | Chain | Token | Recommended Balance | USD Equivalent | |-------|-------|---------------------|----------------| | **Ethereum Mainnet** | ETH | **0.20 ETH** | ~$500 | | **Cronos** | CRO | **15 CRO** | ~$1.20 | | **BSC** | BNB | **0.06 BNB** | ~$18 | | **Polygon** | MATIC | **1.0 MATIC** | ~$0.80 | | **Gnosis** | xDAI | **0.05 xDAI** | ~$0.05 | **Total**: ~$520 USD (with buffers) --- ## 📋 Contracts to Deploy ### Ethereum Mainnet (1 contract) - ⏳ CCIPLogger ### Other Chains (5 contracts each) - ⏳ WETH9 - ⏳ WETH10 - ⏳ CCIPWETH9Bridge - ⏳ CCIPWETH10Bridge - ⏳ CCIPLogger --- ## ⛽ Gas Estimates | Contract | Gas Units | |----------|-----------| | WETH9 | ~450,000 | | WETH10 | ~750,000 | | CCIPWETH9Bridge | ~1,800,000 | | CCIPWETH10Bridge | ~1,800,000 | | CCIPLogger | ~2,500,000 | **Total per chain** (excluding Mainnet): - Base: 7,300,000 gas - With 20% buffer: **8,760,000 gas** **Mainnet** (CCIPLogger only): - Base: 2,500,000 gas - With 20% buffer: **3,000,000 gas** --- ## 🔗 Essential Links - [Multichain Deployment Runbook](./MULTICHAIN_DEPLOYMENT_RUNBOOK.md) - Complete deployment guide - [Gas and Token Requirements](./GAS_AND_TOKEN_REQUIREMENTS.md) - Detailed cost breakdown - [Environment Variables Template](./ENV_EXAMPLE_CONTENT.md) - Complete .env configuration --- ## 📝 Deployment Commands (Quick Copy) ### Ethereum Mainnet ```bash forge script script/DeployCCIPLoggerOnly.s.sol:DeployCCIPLoggerOnly \ --rpc-url mainnet --chain-id 1 \ --private-key $PRIVATE_KEY --broadcast --verify -vvvv ``` ### Cronos ```bash forge script script/DeployAll.s.sol:DeployAll \ --rpc-url cronos --chain-id 25 \ --private-key $PRIVATE_KEY --broadcast --verify -vvvv ``` ### BSC ```bash forge script script/DeployAll.s.sol:DeployAll \ --rpc-url bsc --chain-id 56 \ --private-key $PRIVATE_KEY --broadcast --verify -vvvv ``` ### Polygon ```bash forge script script/DeployAll.s.sol:DeployAll \ --rpc-url polygon --chain-id 137 \ --private-key $PRIVATE_KEY --broadcast --verify -vvvv ``` ### Gnosis ```bash forge script script/DeployAll.s.sol:DeployAll \ --rpc-url gnosis --chain-id 100 \ --private-key $PRIVATE_KEY --broadcast --verify -vvvv ``` --- ## ✅ Pre-Deployment Checklist - [ ] `.env` file configured with all variables - [ ] Wallet balances sufficient for all chains - [ ] RPC endpoints tested and accessible - [ ] Explorer API keys configured - [ ] Contracts compile successfully (`forge build`) - [ ] Tests pass (`forge test`) --- ## 🔍 Post-Deployment Checklist - [ ] All contracts verified on explorers - [ ] Deployment addresses saved to `.env` - [ ] Bridge destinations configured - [ ] Cross-chain transfers tested - [ ] Monitoring set up --- **For detailed information, see the full [Multichain Deployment Runbook](./MULTICHAIN_DEPLOYMENT_RUNBOOK.md)**