Hi, first of all, thanks for reading!

In regards to the error, it could happen for a variety of reasons, among them:

  • the gas amount exceeds what’s valid for the block
  • a require is failing during some events, like the approval function

I’d need to see more details like a stack trace or your code to be able to identify the issue.

How many tokens are you trying to generate? Have you added correctly the amount and also the number of decimals?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store