Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pixel-point/web3js-tracker-example
Blockchain transactions tracker example for ETH and ERC20 tokens made with web3.js
https://github.com/pixel-point/web3js-tracker-example
blockchain cryptocurrency node web3js
Last synced: 2 months ago
JSON representation
Blockchain transactions tracker example for ETH and ERC20 tokens made with web3.js
- Host: GitHub
- URL: https://github.com/pixel-point/web3js-tracker-example
- Owner: pixel-point
- Created: 2018-06-04T06:41:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T07:41:11.000Z (over 6 years ago)
- Last Synced: 2023-11-07T18:13:46.730Z (about 1 year ago)
- Topics: blockchain, cryptocurrency, node, web3js
- Language: JavaScript
- Size: 34.2 KB
- Stars: 165
- Watchers: 8
- Forks: 90
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blockchain tracker example
Tracks Ether and Token transfers for given wallets and amount. [Read more on Medium](https://medium.com/pixelpoint/track-blockchain-transactions-like-a-boss-with-web3-js-c149045ca9bf).## Requirements
- [Node 8+](https://nodejs.org/en/)
- [Yarn (optional)](https://yarnpkg.com/en/)## Setup
```
git clone [email protected]: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=developmentINFURA_URL=https://rinkeby.infura.io/CUNjkZ8qg6WZHqeFNJyL
INFURA_WS_URL=wss://rinkeby.infura.io/wsETH_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
```