Web3.js Tutorial – Check all transactions to an Ethereum address in Node.js (in real-time)

00:00 – Introduction to web3.js
2:00 – Explanation and coding of method 1
13:21 – Explanation and coding of method 2
23:29 – Testing both scripts

This tutorial will teach you the basics of web3.js, the JavaScript API for interacting with the Ethereum network. We’ll be building 2 scripts that will both accomplish the same thing: monitor transactions to a given Ethereum address. The first script is very slow and network and resource intensive, while the second is more elegant and less heavy on the network and system.

Version 1 code
Version 2 code
Web3.js API Documentation

Leave a Reply

Your email address will not be published.