This is an example of a completed coin-like contract built using Truffle. Note that this is not ERC-20 compatible, so it is not expected to interact with other coin/token contracts.
The MetaCoin box has the following requirements:
Helpful, but optional:
$ truffle unbox metacoin
To deploy locally, start a local instance of ganache by running
ganache Then, simply call
To run the tests locally, call
Need help? Get in touch with the Truffle community by posting on Github Discussions!