A POC made by Noe Horowitz
Walkthrough tutorial video: https://rpi.box.com/s/gieyjk3pvzyg8yu7a9hfgc3a9sqf8lgs
There are two main parts to this application, Truffle and the Client, each with its own necessary packages.
All of these commands assume that you are starting in the root directory.
Truffle is the framework used to code, test, compile and deploy the smart contracts for this application, it is necessary if you are making any changes to the smart contracts
> npm installThe Client is the front end of the application, this is where most of the application lies. It is built using React.
> cd .\client\
> npm installUploading a new smart contract can be complicated as it requires multiple steps to be done in the correct order.
> truffle develop
> truffle migrateThis will redeploy the original contracts, this can take a few minutes.
Once that has been done, the new contracts' ABI will automatically be copied into the .\client\src\contracts folder.
Running the client works as follows:
> cd .\client\
> npm run startThis will start a live version of the React Server.