Get started
Matic.js is a javascript library which helps in interacting with the various components of Matic Network.
In this get started document we will learn about how we can setup and interact with the POS bridge.
In case you face any issues or have any queries, feel free to raise a ticket to our Support Team or reach out to us on Discord.
Important
Make sure you have followed the installation step.
Initializing¶
To code with matic, import the relevant libraries in your scripts. For example:
import { use } from '@maticnetwork/maticjs'
import { Web3ClientPlugin } from '@maticnetwork/maticjs-web3'
// install web3 plugin
use(Web3ClientPlugin)
- Click for more details on POS applications that use
web3js
. - Click for more details on POS applications that use
ethers
.
Last update:
January 17, 2024
Authors: