I'm studying how to create a currency to use in my game, however, I'm having some doubts (well beginners can say).
And I would like help if possible to accomplish this.
My question is the following, I need to create a coin (token) that will have no limits, and will also have the burn option.
- The question is what would an example of a smart contract with these resources be like?
- Second doubt, security issues such as mining? For example, during the matches that my game will have, the player will win my "token" virtually, however, at some point he will want to convert the virtual token to a digital wallet, at that point the mining starts, right? What would the contract be like for this situation?
I'm with these doubts that are killing me, hahahah I would be very grateful if someone could help me and if you have tutorials to indicate I will be very grateful.
No more thanks in advance, and excellent OpenZeppelin lib.