Your deployment failed due to insufficient funds. You need testnet ETH to pay for gas fees.
- Required: ~0.0000036 ETH (3,607,392,600,000 wei)
- Have: 0 ETH
- Contract Address (simulated):
0x060d87018EE78c2968959cA2C8a189c12953Cc9A - Deployer Address:
0xf57E8952e2EC5F82376ff8Abf65f01c2401ee294
- Visit: https://www.coinbase.com/faucets/base-ethereum-goerli-faucet
- Connect your wallet (MetaMask, Coinbase Wallet, etc.)
- Enter your address:
0xf57E8952e2EC5F82376ff8Abf65f01c2401ee294 - Request testnet ETH (usually 0.1 ETH per request)
- Visit: https://www.alchemy.com/faucets/base-sepolia
- Connect your wallet
- Request testnet ETH
- Visit: https://faucet.quicknode.com/base/sepolia
- Enter your address
- Request testnet ETH
After requesting from a faucet, wait a few minutes, then check:
cast balance 0xf57E8952e2EC5F82376ff8Abf65f01c2401ee294 --rpc-url base_sepoliaYou should see a balance > 0.
Once you have ETH, retry the deployment:
forge script script/DeployTriviaBattle.s.sol:DeployTriviaBattle \
--rpc-url base_sepolia \
--broadcast \
--verifyIf you have another wallet with Base Sepolia ETH:
- Update
.envwith the new private key - Retry deployment
Still showing 0 balance?
- Wait 2-3 minutes for the transaction to confirm
- Check the transaction on Base Sepolia Explorer
- Try a different faucet if one doesn't work
Faucet says "Already claimed"?
- Some faucets have rate limits (e.g., once per 24 hours)
- Try a different faucet
- Use a different wallet address