Files
smom-dbis-138/docs/deployment/CURRENT_GAS_PRICES.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

124 lines
3.2 KiB
Markdown

# Current Real-Time Gas Prices
**Last Fetched**: 2025-12-11 06:04:19 UTC
**Status**: ✅ Live from APIs
> **To refresh**: Run `./scripts/deployment/get-multichain-gas-prices.sh`
---
## 📊 Current Gas Prices & Costs
| Chain | Gas Price | Gas Units | Cost (Native) | Cost (USD) |
|-------|-----------|-----------|---------------|------------|
| **Ethereum Mainnet** | 0.13 gwei | 3,000,000 | 0.000414 ETH | **$1.03** |
| **Cronos** | 378.75 gwei | 8,760,000 | 3.32 CRO | **$0.27** |
| **BSC** | 0.05 gwei | 8,760,000 | 0.000438 BNB | **$0.13** |
| **Polygon** | 35.69 gwei | 8,760,000 | 0.313 MATIC | **$0.25** |
| **Gnosis** | 0 gwei | 8,760,000 | 0.000023 xDAI | **$0.00** |
### **Total Estimated Cost: $1.68 USD**
---
## 🔍 Detailed Breakdown
### Ethereum Mainnet (CCIPLogger Only)
- **Gas Price**: 0.13 gwei (very low - excellent time to deploy!)
- **Gas Units**: 3,000,000
- **Cost**: 0.000414 ETH
- **USD Cost**: $1.03
- **Source**: Etherscan Gas API v2
### Cronos (All 5 Contracts)
- **Gas Price**: 378.75 gwei
- **Gas Units**: 8,760,000
- **Cost**: 3.32 CRO
- **USD Cost**: $0.27
- **Source**: RPC Endpoint
### BSC (All 5 Contracts)
- **Gas Price**: 0.05 gwei (very low)
- **Gas Units**: 8,760,000
- **Cost**: 0.000438 BNB
- **USD Cost**: $0.13
- **Source**: RPC Endpoint
### Polygon (All 5 Contracts)
- **Gas Price**: 35.69 gwei
- **Gas Units**: 8,760,000
- **Cost**: 0.313 MATIC
- **USD Cost**: $0.25
- **Source**: RPC Endpoint
### Gnosis (All 5 Contracts)
- **Gas Price**: 0 gwei (effectively free)
- **Gas Units**: 8,760,000
- **Cost**: 0.000023 xDAI
- **USD Cost**: $0.00
- **Source**: RPC Endpoint
---
## 📡 API Sources
### Ethereum Mainnet
- **API**: Etherscan Gas API v2
- **Endpoint**: `https://api.etherscan.io/v2/api?chainid=1&module=gastracker&action=gasoracle`
- **Status**: ✅ Connected
- **Method**: FastGasPrice from Etherscan
### Other Chains
- **Method**: RPC `eth_gasPrice` calls
- **Cronos**: `$CRONOS_RPC_URL`
- **BSC**: `$BSC_RPC_URL`
- **Polygon**: `$POLYGON_RPC_URL`
- **Gnosis**: `$GNOSIS_RPC_URL`
- **Status**: ✅ All Connected
---
## 💡 Key Insights
1. **Ethereum Mainnet**: Gas prices are extremely low (0.13 gwei) - excellent time to deploy!
2. **BSC**: Very low gas prices (0.05 gwei) - cost-effective
3. **Gnosis**: Near-zero gas costs - almost free
4. **Cronos**: Higher gas price (378.75 gwei) but still affordable
5. **Polygon**: Moderate gas prices (35.69 gwei) - reasonable
**Overall**: Current market conditions are very favorable for deployment with total costs under $2 USD.
---
## 🔄 Update Commands
### Fetch Latest Prices
```bash
./scripts/deployment/get-multichain-gas-prices.sh
```
### Update Documentation
```bash
./scripts/deployment/get-multichain-gas-prices.sh && ./scripts/deployment/update-gas-estimates.sh
```
### View JSON Data
```bash
cat /tmp/multichain_gas_prices.json | jq '.'
```
---
## 📝 Notes
- Gas prices fluctuate constantly
- These prices are current as of the timestamp above
- Always fetch fresh prices before deployment
- USD costs are approximate (based on current exchange rates)
- Recommended to add 20-50% buffer for safety
---
**Next Steps**: Review these prices and proceed with deployment when ready!