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