To run the project, we need to install truflle and ganache.
Go through instruction here to install truffle locally. Please note that node version should be > v10.1.0
Install ganache to run Blockchain locally. Follow instruction here to install ganache.
Start ganache app. A local Blockchain should spin up.
Run the following to compile the contracts
truffle compile
Run the following to deploy the contracts on to Blockchain
truffle migrate
Have a look at the scripts under scripts
folder to interact with Blockchian
Run an script by running the following command.
truffle exec <scriptname.js>