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 truffle migrate
This box has examples for testing your smart contracts in both Javascript and Solidity.
To run the tests locally, call truffle test
Need help? Get in touch with the Truffle community by posting on Github Discussions!