BillCoin is an ERC-20 compliant token written on top of the ethereum network. The version of the coin in this repo is meant to be deployed on TestRPC and accessed using the included CLI.
This repo contains three main parts:
- the token contract itself
- a javascript file for deploying the contract
- a node-based CLI for interacting with the contract
- clone the repo
- install the dependencies:
** run
npm install
to install the required node packages (see package.json for the complete list of dependencies) - start TestRPC
- deploy the contract :
- run
node deploy_BillCoin.js
- run
- start the CLI:
- in
./cli_BillCoin
update the ABI to be the ABI logged by TestRPC when you deployed the contract.- look for
var billCoinABI = ...
- look for
- in
./cli_BillCoin
update the contract address to be the contract address logged by TestRPC when you deployed the contract.- look for
var billCoinAddress = ...
- look for
- run
node cli_BillCoin
- in