Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 590 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 590 Bytes

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.