etheventwatcher-chaintasker
v1.0.2
Published
A utility for watching Ethereum blockchain events, powered by ChainTasker.
Downloads
4
Readme
EthEventWatcher
EthEventWatcher is a utility tool for real-time monitoring of Ethereum blockchain events, leveraging the capabilities of ChainTasker for seamless interaction with smart contracts.
EthEventWatcher and CryptoBalanceNotifier are two distinct extensions of ChainTasker's functionality, tailored to monitoring blockchain events and managing address balance notifications, respectively. They exemplify the modular and expandable nature of building Web3 tools with ChainTasker as a foundational dependency.
Features
- Watch for specific smart contract events in real-time.
- Easy integration with ChainTasker for event monitoring.
Installation
npm install etheventwatcher
Usage
const EthEventWatcher = require('etheventwatcher'); const watcher = new EthEventWatcher('<provider_url>', '<contract_address>', [<contract_abi>]);
watcher.watchEvents('<event_name>', (event) => { console.log(event); });