/truffle_example

Truffle example to be used in Blockchain Programming Course (CryptoDevs)

Primary LanguageJavaScriptMIT LicenseMIT

Description

Truffle example to be used in Blockchain Programming Course (CryptoDevs) based on the following truffle box

Prerequisites

  • NodeJs v8.0.0 Link
  • Truffle v3.4.11 Link
  • TestRPC v4.0.1 Link

How to install

  1. Download the repo

git clone https://github.com/atixlabs/truffle_example.git truffle_example && cd truffle_example

  1. Install dependendencies

npm install

  1. Start test rpc

testrpc

  1. Deploy de contract

truffle migrate

  1. Run it as an usual truffle project
  • Test solidity contract: truffle test
  • Run the app: npm start