Skip to main content
Web3.js is a collection of libraries that allow you to interact with a local or remote Ethereum node using HTTP, IPC or WebSocket.

Setup web3.js

web3.js support is available via separate package as a plugin for matic.js.

Installation

Setup

Let’s see an example of creating POSClient using web3 -

Examples

The examples for different cases are available in web3 plugin repo.