Skip to content

Instantly share code, notes, and snippets.

View tjayrush's full-sized avatar

Thomas Jay Rush tjayrush

  • TrueBlocks, LLC
  • Philadelphia, PA
View GitHub Profile
@shayanb
shayanb / eventListener.js
Created September 15, 2016 22:26
simple NodeJS app to display triggered events on a smart contract
// This is a simple NodeJS app to display triggered events on a smart contract
// you need your contract ABI and deployed address and also a synced geth running
// github.com/shayanb
var optionsABI = [YOUR_CONTRACT_ABI]
var contractAddress = "0xYOUR_CONTRACT_ADDRESS"
var Web3 = require('web3');