Skip to content

Blockchain transactions tracker example for ETH and ERC20 tokens made with web3.js

Notifications You must be signed in to change notification settings

pixel-point/web3js-tracker-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain tracker example

Tracks Ether and Token transfers for given wallets and amount. Read more on Medium.

Requirements

Setup

git clone git@github.com:dsemenovsky/blockchain-tracker-example.git
cd blockchain-tracker-example
yarn install

Fill .env from .env.example with the token contract address, wallets and amount. Pluton token contract is provided for this example.

NODE_ENV=development

INFURA_URL=https://rinkeby.infura.io/CUNjkZ8qg6WZHqeFNJyL
INFURA_WS_URL=wss://rinkeby.infura.io/ws

ETH_BLOCK_TIME=30

TOKEN_CONTRACT_ADDRESS=0xb4e95c65c23cab8c4fcaf15e4936c392e6ab21bf

WALLET_FROM=
WALLET_TO=
AMOUNT=

Running

Simply start the service and make a transfer from one wallet to another on Rindkeby testnet.

yarn start

About

Blockchain transactions tracker example for ETH and ERC20 tokens made with web3.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published