-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
We had some sample code around using the vm from Go. In future revision of the DpoS contracts we will need them to mint erc20. So lets add a dummy method on dpos3 that can mint tokens on an erc20, using the open Zeppelin mint table method. It should be secured in such a way that only the chain can do the mint.
- Make simple erc20 with openzeppelin mintable https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/token/ERC20/ERC20Mintable.sol
- Add a method to dpos3 that mints a token
- Figure out a secure strategy of making the chain send an "from"/"sender" address that only the chain can use
Metadata
Metadata
Assignees
Labels
No labels