Here be smart contracts for the Blok token.
Please see the contracts/ directory.
Contracts are written in [Solidity][solidity] and tested using [Truffle][truffle] and [testrpc][testrpc].
-
node v9.11.1
-
npm 5.8.0
# Install Truffle and testrpc packages globally:
$ npm install -g truffle ethereumjs-testrpc
# Install local node dependencies:
$ npm install
# Initialize a testrpc instance
$ ./scripts/testrpc.sh
# This will compile and test the contracts using truffle
$ truffle test
# Enable long tests
$ LONG_TESTS=1 truffle test