web3.js plugin for matic.js
npm i @maticnetwork/maticjs-web3
All the examples are in the examples folder.
import { use } from '@maticnetwork/maticjs'
import { Web3ClientPlugin } from '@maticnetwork/maticjs-web3'
// install ethers plugin
use(Web3ClientPlugin)
That's all you need to do and web3.js
will be used for web3 calls.