Hey OpenZeppelin community!
I’m totally new at playing around with smart-contract and token creation, and not the strongest coder. I am therefore playing with Remix and the Open zeppelin.
I have a few questions, and a few issues I was hoping to get help with.
The base of what I’m using was coming from this guide. So I would have the same setup as prior guide and have been playing around with it to create some coins.
I choose the prior guide’s setup as it has the 3 key essentials I needed, Pause, Burn and mint.
Is there anything I should be aware of other than setting the Decimals, symbol and name? - Or is there some setup needed to be done inside the Git repo of the open zeppelin contract I’m inserting from for prober use? - I assume the owner of the contract is the contract creator as calling the contract from another wallet wouldn’t allow you to mint, burn or pause, or anything else for that sake?
The first issue stumbled upon is the following:
I didn’t have issues with burning or minting in general, but if I tried using the “burnFrom” method, which would have me choose a specific wallet to burn from it would always give me an error stating I didn’t have enough gas allowance, raising gas would never help:
How do I fix this?
I’m trying to figure out how to “grantRole” which I assume is admin role to interact with the smart contract. I’m not so sure what to insert in the role: box, as I only get errors no matter what I write, as I’m only guessing.
Also is it possible to give a MEW wallet admin role? and how would I call the contract from remix without using MetaMask?
I appreciate the effort of allowing such tools to have someone like me create smart-contract comprehensible, now I just need to understand the missing parts.
Thanks in advance