@maticnetwork/maticjs
JavaScript SDK for the Polygon (Matic) Network. Move assets between Ethereum and Polygon and withdraw using fraud proofs, without needing deep familiarity with the underlying smart contracts.
Install
npm install @maticnetwork/maticjs
# or
pnpm add @maticnetwork/maticjs
A plugin is required for the EVM library you use:
@maticnetwork/maticjs-ethers— ethers v5@maticnetwork/maticjs-web3— web3.js
Documentation
https://docs.polygon.technology/tools/matic-js/get-started
Source
https://github.com/0xPolygon/matic.js — issues, contributions, and the
broader monorepo. The published package directory is
packages/maticjs/.
Support
Reach the team on Discord.
License
MIT — see LICENSE.