This is the sample code for the 2018 DApper Network Bootcamp Solidty walkthrough 8/11/2018
It is a simple time lock contract where funds committed to the contract will be locked for the specified period fo time which, once elapse, can be withdrawn again.
The code is for demonstration purposes only and is used to highlight the key concepts of Solidity development - it is not production ready and should not be used in a production environment
Truffle and Node must be installed before trying to compile and test
npm install
truffle compile
truffle develop
Then from the truffle console
truffle(develop)> test