The matic.js SDK takes all the computing power of Polygon and places it right at your finger tip. With custom-made functions that allow for approval, deposit and withdrawals, all without doing too much footwork. Our reason for engineering this was to ensure you get instant value from our platform.
The first step to using the awesome power of Polygon via our SDK is by doing an NPM install of it. Find here.
To access the SDK, import it in your application using
The providers can be RPC urls or web3 based providers like Metamask provider, HDWalletProvider etc. based on requirement.
- RPC URL
- Metamask provider
- HD Wallet provider
Instantiate the client by passing network details and providers based on the network you are integrating.
More details can be provided if you want to override the default values.