62 lines
2.0 KiB
Markdown
62 lines
2.0 KiB
Markdown
|
|
# Mainnet Deployment Priority List
|
||
|
|
|
||
|
|
## 📋 Remaining Smart Contracts for Ethereum Mainnet
|
||
|
|
|
||
|
|
### 1. CCIPLogger
|
||
|
|
- **Contract**: `contracts/ccip-integration/CCIPLogger.sol`
|
||
|
|
- **Type**: Ethereum receiver for CCIP messages
|
||
|
|
- **Deployment Tool**: Hardhat
|
||
|
|
- **Script**: `scripts/ccip-deployment/deploy-ccip-logger.js`
|
||
|
|
- **Estimated Gas**: ~2,500,000
|
||
|
|
- **Estimated Cost**: ~0.008 ETH (varies with gas price)
|
||
|
|
- **Dependencies**: None
|
||
|
|
- **Priority**: 1 (Can deploy independently)
|
||
|
|
|
||
|
|
### 2. CCIPWETH9Bridge
|
||
|
|
- **Contract**: `contracts/ccip/CCIPWETH9Bridge.sol`
|
||
|
|
- **Type**: Cross-chain WETH9 bridge
|
||
|
|
- **Deployment Tool**: Foundry
|
||
|
|
- **Script**: `script/DeployCCIPWETH9Bridge.s.sol`
|
||
|
|
- **Estimated Gas**: ~1,800,000
|
||
|
|
- **Estimated Cost**: ~0.006 ETH (varies with gas price)
|
||
|
|
- **Dependencies**: CCIPRouter (must be deployed/configured first)
|
||
|
|
- **Priority**: 2 (After CCIPRouter)
|
||
|
|
|
||
|
|
### 3. CCIPWETH10Bridge
|
||
|
|
- **Contract**: `contracts/ccip/CCIPWETH10Bridge.sol`
|
||
|
|
- **Type**: Cross-chain WETH10 bridge
|
||
|
|
- **Deployment Tool**: Foundry
|
||
|
|
- **Script**: `script/DeployCCIPWETH10Bridge.s.sol`
|
||
|
|
- **Estimated Gas**: ~1,800,000
|
||
|
|
- **Estimated Cost**: ~0.006 ETH (varies with gas price)
|
||
|
|
- **Dependencies**: CCIPRouter (must be deployed/configured first)
|
||
|
|
- **Priority**: 3 (After CCIPRouter)
|
||
|
|
|
||
|
|
## ⚠️ Note: Predeployed Contracts
|
||
|
|
|
||
|
|
The following contracts already exist on Mainnet and do NOT need deployment:
|
||
|
|
- **WETH9**: `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2` (canonical address)
|
||
|
|
- **WETH10**: `0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f` (canonical address)
|
||
|
|
|
||
|
|
## 📊 Current Gas Prices
|
||
|
|
|
||
|
|
Gas prices are fetched in real-time from Etherscan API:
|
||
|
|
- **Safe (Low)**: Varies
|
||
|
|
- **Standard**: Varies
|
||
|
|
- **Fast (High)**: Varies
|
||
|
|
- **Recommended (2.5x highest)**: Varies
|
||
|
|
|
||
|
|
## 💰 Deployment Costs
|
||
|
|
|
||
|
|
Total estimated cost for all 3 contracts: ~0.020 ETH
|
||
|
|
(Actual costs depend on current gas prices)
|
||
|
|
|
||
|
|
## 🎯 Prioritization
|
||
|
|
|
||
|
|
Deployments are prioritized based on:
|
||
|
|
1. Available wallet balance
|
||
|
|
2. Contract dependencies
|
||
|
|
3. Deployment cost
|
||
|
|
|
||
|
|
Run `./scripts/deployment/prioritize-mainnet-deployments.sh` for current prioritization.
|