1.0.2 • Published 8 years ago
gametoken v1.0.2
GameToken
Simple ethereum token.
Do not use this in production environment.
Usage
npm install gametoken
import 'gametoken/contracts/GameToken.sol'Or
import 'gametoken/contracts/SecureGameToken.sol'Development
npm installTest
Before run test, make sure you have installed truffle.
npm install -g truffleRun test with truffle and testrpc.
npm install -g testrpc
Run testrpc
testrpcRun test
truffle testRun test with private blockchain.
truffle test --network private
Remember to modify providers/private.js
Run test without install testrpc globally.
truffle test --network test
container
If you want to type host name like testrpc or geth in truffle.js, you can use docker or other virtual service to do.
write docker-compose.yml
run container