Files
proxmox/docs/11-references/DEPLOYMENT_GAS_COSTS_REALTIME.md
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands
- CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround
- CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check
- NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere
- MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates
- LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:46:57 -08:00

2.5 KiB
Raw Blame History

Deployment Gas Costs Real-Time (from Gas API)

Last Updated: 2026-01-31 18:39 UTC
Status: Active Documentation Source: Etherscan Gas API v2 (Ethereum), RPC/defaults (other chains)
Script: smom-dbis-138/scripts/deployment/get-multichain-gas-prices.sh


Current gas prices

Chain Gas Price Source
Ethereum Mainnet 2.74 gwei Etherscan API (live)
Cronos 1.00 gwei Default
BSC 5.00 gwei Default
Polygon 50.00 gwei Default
Gnosis 2.00 gwei Default
Avalanche 30.00 gwei Default
Base 1.00 gwei Default
Arbitrum 0.10 gwei Default
Optimism 0.001 gwei Default

Deployment cost estimates (live)

Ethereum Mainnet (CCIPLogger only 3,000,000 gas)

Metric Value
Gas units 3,000,000
Gas price 2.74 gwei
Cost 0.0082 ETH
USD ~$20.59 (at $2,500/ETH)

Other chains (all 5 contracts 8,760,000 gas each)

Chain Native Token Cost USD
Cronos CRO 0.00876 CRO ~$0.001
BSC BNB 0.0438 BNB ~$13.14
Polygon MATIC 0.438 MATIC ~$0.35
Gnosis xDAI 0.0175 xDAI ~$0.02
Avalanche AVAX 0.263 AVAX ~$9.20
Base ETH 0.00876 ETH ~$21.90
Arbitrum ETH 0.00088 ETH ~$2.19
Optimism ETH 0.000009 ETH ~$0.02

Total estimated cost

~$67.41 USD (all chains combined, at scripts default token prices)


Chain Token Recommended Notes
Ethereum Mainnet ETH 0.05 ETH ~$125 buffer for gas spikes
Cronos CRO 15 CRO Buffer for RPC variability
BSC BNB 0.06 BNB Buffer
Polygon MATIC 1.0 MATIC Includes verification
Gnosis xDAI 0.05 xDAI Buffer
Avalanche AVAX 0.5 AVAX Buffer
Base ETH 0.02 ETH Buffer
Arbitrum ETH 0.005 ETH Buffer
Optimism ETH 0.001 ETH Buffer

Refresh real-time data

cd smom-dbis-138
./scripts/deployment/get-multichain-gas-prices.sh
./scripts/deployment/update-gas-estimates.sh

Set ETHERSCAN_API_KEY in .env for live Ethereum gas; other chains use RPC when available.


Gas units per contract

Contract Gas
WETH9 ~450,000
WETH10 ~750,000
CCIPWETH9Bridge ~1,800,000
CCIPWETH10Bridge ~1,800,000
CCIPLogger ~2,500,000