The web3.js library is a collection of modules which contain specific functionality for the ethereum ecosystem.
-
The
web3-eth
is for the ethereum blockchain and smart contracts -
The
web3-shh
is for the whisper protocol to communicate p2p and broadcast -
The
web3-bzz
is for the swarm protocol, the decentralized file storage -
The
web3-utils
contains useful helper functions for Dapp developers.First you need to get web3.js into your project. This can be done using the following methods:
- npm:
npm install web3
- Go to the infura and create account make new project
- From infura you need project id and urls for web3
- Infur that api url was connect for the web3 ethereum network
- Make env file like env.sample with your project id
- RUN
node ethTransactionCrawler.js
- npm: