0.0.1 • Published 3 years ago
tz-watch v0.0.1
tz-watch
Monitor onBlock events from the Tezos node
yarn add tz-watch
const { Watcher } = require('tz-watch')
const watcher = new Watcher("https://mainnet-tezos.giganode.io")
watcher.start()
watcher.on('block', () => {
console.log(`New Block: ${new Date()}`)
})
0.0.1
3 years ago