Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.01 KB

README.md

File metadata and controls

13 lines (10 loc) · 1.01 KB

BitGuild contracts and test suite

Contracts

  1. BitGuildToken.sol - ERC20 token, 100% standard
  2. BitGuildCrowdsale.sol - crowdsale contract, based on Zeppelin crowdsale templates with some additions

Testing

  1. Install packages via npm install
  2. Install truffle 4.0.6
  3. Install testrpc 3.9.2
  4. 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
  5. Launch truffle test from command line