Skip to content

An example project for subscribing log events on web3 1.0

License

Notifications You must be signed in to change notification settings

hungls-2814/web3-subscribe-example

 
 

Repository files navigation

web3.js Subscribe Example

An example project for subscribing log events on web3.js 1.0

Requirements

  • node ^8
  • yarn
  • a local test RPC like Ganache

Install

git clone [email protected]:vbilici/web3-subscribe-example.git
cd web3-subscribe-example
yarn

Run

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

About

An example project for subscribing log events on web3 1.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%