Git Product home page Git Product logo

eth-bulk-monitor-client-nodejs's Introduction

NodeJS client for Ethplorer Bulk API Monitor

Fast tracking an unlimited number of ERC20 tokens and Ethereum addresses, even millions.

https://docs.ethplorer.io/monitor

Quickstart

Learn how to start tracking your Ethereum addresses with Ethplorer Bulk API and and Node.js.

Let's create a new project and add eth-bulk-monitor-client-nodejs library via npm.

$ mkdir monitor-example
$ cd monitor-example
$ npm init
$ npm i --save eth-bulk-monitor-client-nodejs
$ vim index.js

Create a new js file and start edit it.

First of all, let's include MonitorApp class:

const { MonitorApp } = require('eth-bulk-monitor-client-nodejs');

Then instantiate the class with your API key.

const monitorApp = new MonitorApp('put your API key here');

Finally, lets define the addresses we would like to monitor and a callback function:

monitorApp.init([
    '0x0000000000000000000000000000000000000001',
    '0x0000000000000000000000000000000000000002',
    '0x0000000000000000000000000000000000000003'
]).then(() => monitorApp.watch((data) => console.log(data));

Voila, now we can get and process all the new transactions and ERC-20 operations for the specified addresses using just a single npm library and Node.js.

Examples

Reference

You can find the class reference here.

eth-bulk-monitor-client-nodejs's People

Contributors

alexesnsk avatar artemko7v avatar egorvas avatar timophey01 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.