Install Ganache, Truffle, and add the Metamask Chrome Extension.
TODO: npm install for packages? inside client?
- Click the settings button at the top right of the Ganache GUI.
- Click "Add Project"
- Find the directory where you git-cloned Double Trouble and select the file
blockchain-backend/truffle-config.js
. cd blockchain-backend
and entertruffle migrate --reset
- Go to Ganache, click "Contracts", and find the address for the DoubleTroubleOrchestrator contract.
cd ../client
and enterREACT_APP_DTO_ADDR=[address] yarn start
- Go to Ganache, click "Accounts", and find the address of
accounts[0]
(the first one that shows up), and import that account into your Metamask Chrome Extension. - You should have your dev up and running!
npm test
inside blockchain-backend
truffle run coverage
inside blockchain-backend