Web3.js
Set of Javascript libraries enabling interaction with a local or remote Ethereum node through HTTP, IPC, or WebSocket protocols.
Features
-
Ethereum API: Offers a full suite of tools for interacting with Ethereum nodes using JSON-RPC, WebSocket, or IPC.
-
Smart Contract: Supports seamless deployment and interaction with smart contracts via ABI encoding/decoding.
-
Ecosystem: Compatible with browsers, Node.js, and various Ethereum networks, making it highly versatile.
Quickstart
-
Install the package:
Terminal window npm install web3Terminal window yarn add web3 -
Import the library and start using it:
import Web3 from "web3"