Files
smom-dbis-138/docs/deployment/DEPLOYMENT_QUICK_REFERENCE.md
defiQUG 1fb7266469 Add Oracle Aggregator and CCIP Integration
- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control.
- Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities.
- Created .gitmodules to include OpenZeppelin contracts as a submodule.
- Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment.
- Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks.
- Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring.
- Created scripts for resource import and usage validation across non-US regions.
- Added tests for CCIP error handling and integration to ensure robust functionality.
- Included various new files and directories for the orchestration portal and deployment scripts.
2025-12-12 14:57:48 -08:00

3.2 KiB

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

💰 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


📝 Deployment Commands (Quick Copy)

Ethereum Mainnet

forge script script/DeployCCIPLoggerOnly.s.sol:DeployCCIPLoggerOnly \
  --rpc-url mainnet --chain-id 1 \
  --private-key $PRIVATE_KEY --broadcast --verify -vvvv

Cronos

forge script script/DeployAll.s.sol:DeployAll \
  --rpc-url cronos --chain-id 25 \
  --private-key $PRIVATE_KEY --broadcast --verify -vvvv

BSC

forge script script/DeployAll.s.sol:DeployAll \
  --rpc-url bsc --chain-id 56 \
  --private-key $PRIVATE_KEY --broadcast --verify -vvvv

Polygon

forge script script/DeployAll.s.sol:DeployAll \
  --rpc-url polygon --chain-id 137 \
  --private-key $PRIVATE_KEY --broadcast --verify -vvvv

Gnosis

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