- BitGuildToken.sol - ERC20 token, 100% standard
- BitGuildCrowdsale.sol - crowdsale contract, based on Zeppelin crowdsale templates with some additions
- Install packages via
npm install
- Install truffle 4.0.6
- Install testrpc 3.9.2
- Launch testrpc, unlocking first several accounts with
testrpc --account="0x83de5f69c81e06f30351868aba00925f1fb9cf6c9881ee9760a7b22eb16ab6e2,50000000000000000000000" --account="0x83de5f69c81e06f30351868aba00925f1fb9cf6c9881ee9760a7b22eb16ab6e3,50000000000000000000000" --account="0x83de5f69c81e06f30351868aba00925f1fb9cf6c9881ee9760a7b22eb16ab6e4,50000000000000000000000" --account="0x83de5f69c81e06f30351868aba00925f1fb9cf6c9881ee9760a7b22eb16ab6e5,50000000000000000000000" --account="0x83de5f69c81e06f30351868aba00925f1fb9cf6c9881ee9760a7b22eb16ab6e6,50000000000000000000000" --secure -u 0 -u 1 -u 2 -u 3 -u 4
- Launch
truffle test
from command line