An example project for subscribing log events on web3.js 1.0
- node ^8
- yarn
- a local test RPC like Ganache
git clone [email protected]:vbilici/web3-subscribe-example.git
cd web3-subscribe-example
yarn
Run testRPC first with the config given in truffle.js
.
Then run the commands below with the same order.
yarn compile
yarn deploy
yarn start