This is the repository used for The Block Power workshop.
See the google presentation here.
step1-basic: make sure to have truffle installed globaly. npm install -g truffle
(I used version 5.0.0)
- run
truffle develop
migrate
step1-wDependencies: it uses an external dependencie, controlled by npm, so you need to install it before running.
npm install
oryarn
- run
truffle develop
migrate
step2: The client folder is a normal react app with some contracts connected to it.
npm install
oryarn
- link or copy the contracts to src/ folder (
cd src/ && ln -s ../../../step1/wDependencies/build/contracts contracts
in unix systems) npm run start
demo: Just npm install
or yarn
and npm run coverage