Lesson 7: cannot estimate gas; transaction may fail or may require manual gas limit while runing fund script #1771
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
make this correction value: ethers.utils.parseEther("0.1"), |
Beta Was this translation helpful? Give feedback.
-
What is minimum fund amount?? |
Beta Was this translation helpful? Give feedback.
-
@Codeinor try to add gas like this, otherwise push the code to GitHub and leave a link here I will see it. rinkeby: {
url: process.env.RPC_URL,
accounts: [process.env.PRIVATE_KEY],
chainId: 4,
blockConfirmations: 6,
gas: 6000000,
}, |
Beta Was this translation helpful? Give feedback.
-
Try Ali's method to manually input a gas limit. If that does not work, reply w/ the repo and we will look into it |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
What is minimum fund amount??
You're sending value less than the minimum allowed in your contract.