Skip to content

noforks/tz-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()}`)
})

Donations kindly accepted at noforks.tez

Releases

No releases published

Packages

No packages published