wearetheledger / ethereum-smartcontract-demo

Demo of smart contracts using testrpc and truffle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ethereum-smartcontract-demo

Demo of smart contracts using testrpc and truffle

prerequisites

Install all necessary node packages by running npm install.

Testing

For testing, you need to execute the following steps:

  1. Run testrpc: testrpc
  2. Run tests: truffle test

Developing

When developing and uploading to a real Ethereum network use following steps:

  1. Compile your contracts: truffle compile --all
  2. Migrate the contracts to the ethereum network: truffle migrate

Additional Info

  • testrpc runs your testing-network which will be used by truffle.

About

Demo of smart contracts using testrpc and truffle


Languages

Language:JavaScript 100.0%