etheventwatcher-chaintasker

1.0.2 • Public • Published

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); });

Readme

Keywords

none

Package Sidebar

Install

npm i etheventwatcher-chaintasker

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

1.94 kB

Total Files

3

Last publish

Collaborators

  • nolanull