Trying to adapt this solidity code from https://github.com/CodeWithJoe2020/ERC20Token/blob/main/ERC20.sol

Using remix

Basic token creation contract, but it will not create a contract due to EIP-1559 code not added

  • 1
    What error did you get? What were you doing? EIP-1559 is backward compatible with existing wallets, and a contract doesn't need to make any change.
    – Ismael
    Commented Aug 21, 2021 at 3:36
  • I was getting an error, saying that my wallet requires EIP-1559 to make the contract, It was a problem using a hardware wallet to create the contract, I used a different wallet and it worked now.
    – stems
    Commented Aug 21, 2021 at 20:05
  • If you solved the problem that way it would be nice if you can write that as answer so the question can be marked as resolved and help others in a similar situation.
    – Ismael
    Commented Aug 22, 2021 at 22:59

1 Answer 1


Using a hardware wallet was causing the problem here. I created the contract using a regular metamask wallet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.