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 wtihdraw, all without doing too much footwork, our reason for engineering this was to ensure you can 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
Start by importing the SDK into your application with.
Done that? Next up, we use providers. The providers can be RPC urls or web3 based providers like Metamask provider, HDWalletProvider et.al based on what you want to see.
RPC and HD Wallet
Next thing you want to do is instantiate the client by passing network details and providers based on the network you're integrating.
More details can be provided if you want to override the default values.