ERC20 compatible token with overdraft capabilities
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
Node.js
NPM
Ganache
(To perform migrations or tests, we need a node running on http://localhost:8545, preferably ganache for test or dev enviroments, this is configutable on truffle.js file)
A step by step series of examples that tell you have to get a development env running
Install all the project dependencies using npm:
npm install
Install a test node (Ganache) and run it (will likely need superadmin privileges since the node will be installes globally):
npm i ganache-cli
ganache-cli -d
Compile smart contracts:
truffle compile
Migrate smart contracts:
- With default account
truffle migrate
- With custom account
truffle migrate 0xcustomAccount
Run truffle tests:
truffle test
Check code coverage:
./node_modules/.bin/solidity-coverage
- Node - The web framework used
- NPM - Dependency Management
- Truffle - Ethereum suite
- Ganache-cli - Ethereum test node
- Solium - Solidity linter
- Mocha - Tests suite
- Chai - Assertion library
- openzeppelin-solidity - Contract standards
- Enrique Alcázar - Enrique Alcázar
See also the list of contributors who participated in this project.