Replies: 2 comments 2 replies
-
Whenever you make a transaction, the So you need to know how much gas does your deploy tx consumes, if you've tried it on Rinkeby, similar gas (or exact in most cases) would be needed for mainnet. An example of a ERC20 token deploy contract: this costs
|
Beta Was this translation helpful? Give feedback.
-
Well, if you have deployed your contract in test network then you will be able to see gas usage per transaction so note it down. Observe the Gwei price and multiply it with your noted number which is the actual Gas price which would applicable in ethereum mainnet in the format of "Gwei" Also you can convert it in ETH through this website |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've built a very basic ERC-20 token with open zepplin and deployed that already several times using ethers v5 without issues to Rinkeby.
So, finally I wanted to deploy that as well to Mainnet and have put some ETH into a wallet. Unfortunately, this always ends up in the error "Insufficient funds for intrinsic transaction cost."
Is there any way to find out how much ETH in the wallet would be required to deploy the contract?
Best,
Tobias.
Beta Was this translation helpful? Give feedback.
All reactions