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.
Here some examples of how to use web3-eth module:
- How to call methods of Ethereum Smart-Contracts from WordPress with MetaMask, Web3 and Javascript
- How to call methods of Ethereum Smart-Contracts from WordPress with MetaMask, Web3 and Javascript (PART II)
- 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
By MrAddon