The web3.js library is a collection of modules which contain specific functionality for the ethereum ecosystem.
web3-ethis for the ethereum blockchain and smart contracts
web3-shhis for the whisper protocol to communicate p2p and broadcast
web3-bzzis for the swarm protocol, the decentralized file storage
web3-utilscontains useful helper functions for Dapp developers.
Here some examples of how to use web3-eth module:
- How to store information in Ethereum with Smart-Contracts
- How to read storage data from an Ethereum Smart-Contract using Web3 and MetaMask
- How to get the Token balance, amount of Ether and transactions info of an Ethereum account using Web3