0

I am really new into contracts and tokens, I wanted to learn how to deploy a contract, so I grabbed someone else's contract and tried to deploy it on BSC. I was following tutorial on youtube and everything went fine, but when I tried to deploy my contract I got:

Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?
Internal JSON-RPC error. { "code": -32000, "message": "execution reverted" }

I tried changing gas fee from 300000 to more or less but nothing seemed to work.

Contract that I tried to deploy is available here

1
  • If you look at the transaction that deployed the contract it uses 7,946,720 gas.The error is generic it means deployment failed but the reason can be anything other than gas. Use a testnet like ganache before deploying on mainnet. – Ismael May 8 at 21:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.