0

Im new to contract development and i'm looking for a bit of advice relating to my token contract?

  1. First is it ok to add custom functions to an ERC20 contract?
  2. Do I need to use all the functions listed on this example page? Token Example
  3. Is it ok to create a minting function within the ERC20 contract that only the owner can use?

Thanks

1
  1. Yes.
  2. You need to implement all the functions here: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md.
  3. It's "okay" from the technical perspective of not breaking things. Depending on your use case, it may or may not be okay from economic and trust standpoints.

Your Answer

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

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