Smart contracts and tools for running an ERC20 token crowdsale
LTS Node 8.9.4 is required for running tests.
You will alse need Truffle framework:
# Make sure we have the latest truffle version
npm uninstall -g truffle
npm install -g truffle@latestTo test this project locally:
# clone the repo
git clone https://github.com/runningbeta/erc20-crowdsale.git
cd erc20-crowdsale
# install dependencies
npm install
# run tests on development network
truffle test
# run tests on truffle test network
truffle test --network test
# or
npm run testTo check the coverage report:
# run tests with coverage
npm run coverageTo run JavaScript and Solidity linter:
# run eslint and solium
npm run lint:allThis project is open source and distributed under the Apache License Version 2.0 license.