A simple ethereum smart contract to represent a workflow on the blockchain
- Node.js
- truffle
- testrpc
- geth
- Clone the repo
truffle compilein the project direectory- Start testrpc by entering
testrpcin another terminal (this will spin up a fresh blockchain) truffle deployin the project directory to deploy the workflow contract to the blockchaintruffle testto run tests
/contracts/Workflow.solfor the contract/tests/workflow.jsfor tests and how to interact with the contract