Designed to represented a fungible asset with offchain interaction as an ERC223 token.
Truffle is used to develop and test the Asset Token Smart Contract. This has a dependency of Node.js.
Prerequisites:
yarn (but npm should work just as well) and solidity-coverage need to be installed.
yarn install
This will install all the required packages.
Start testrpc
in a separate terminal tab or window.
yarn testrpc
# in separate window or tab
yarn test
This will compile the contract, deploy to the testrpc instance and run the tests.
yarn coverage
this will produce a test coverage report