gas-forecaster
The Smart Contract Deployment Cost Calculator.
Go from uncertainty to a precise financial forecast. See the exact USD cost of deploying a contract or calling a function across multiple networks before you spend a cent.
Install for FreePlan Your Finances with Precision
$ forecast deploy ./contracts/MyNFT.sol --networks ethereum,polygon,arbitrum
✅ Forecast complete for MyNFT.sol
Deployment Cost Analysis:
------------------------------------------------------------------
| Network | Gas Price | Gas Units | Est. Fee | Est. USD Cost |
|------------|-----------|-------------|----------------|---------------|
| Ethereum | 25 Gwei | 1,500,000 | 0.0375 ETH | $131.25 |
| Polygon | 40 Gwei | 1,500,000 | 0.06 MATIC | $0.05 |
| Arbitrum | 0.1 Gwei | 1,500,000 | 0.00015 ETH | $0.52 |
------------------------------------------------------------------
Note: Costs are real-time estimates and may vary slightly.
Free vs. Pro
Feature | Free Tier | Pro Tier |
---|---|---|
Core Deployment Cost Forecast | ✅ | ✅ |
Multi-Network Comparison | ✅ | ✅ |
Contract Size Limit Warnings | ✅ | ✅ |
Full Contract Gas Report (All Functions) | ❌ | ✅ |
Historical Gas Price Forecasting | ❌ | ✅ |
CI/CD Integration & Gas Budgeting | ❌ | ✅ |
Get Started
Install the tool and forecast your first deployment in seconds.
# 1. Install gas-forecaster
curl -sSL https://download.blocktools.dev/install.sh | sh -s -- gas-forecaster
# 2. Forecast a deployment across multiple networks
forecast deploy ./path/to/Contract.sol --networks ethereum,polygon