Closed yaizudamashii closed 3 years ago
Ok I figured it out, if we are using PRIVATE_KEY, we also need to uncomment accounts: [PRIVATE_KEY] in hardhat.config.js and comment accounts: { mnemonic: MNEMONIC }.
Closing.
Yes! Exactly!
I need help too and I'm facing the same error. This is the error code I'm seeing:
Error: insufficient funds for intrinsic transaction cost (error={"name":"ProviderError","code":-32000,"_isProviderError":true}, method="sendTransaction", transaction=undefined, code=INSUFFICIENT_FUNDS, version=providers/5.5.0)
These are the steps that I have done:
Also, I should mention that I added this to my hardhat.config.js:
module.exports = { rinkeby: { url: RINKEBY_RPC_URL, accounts: [PRIVATE_KEY], // accounts: { // mnemonic: MNEMONIC, // } }, mainnet: { url: MAINNET_RPC_URL, },
Do I need to indicate gas and gasLimit? Please help!
Thank you for keeping your keys safe :)
How much ETH do you have in your account? Post a link to your wallet?
I restarted my computer and it worked 👍
amazing
Hi Patrick, thank you very much for the tutorial video and this codebase. The video was very informative.
I tried to deploy to the Rinkeby testnet, and I got 7.5 ETH from faucet but I keep getting insufficient funds. I can only get 7.5 ETH per day, how much ETH do I generally need to deploy to Rinkeby?