1. Home
  2. Docs
  3. Matic
  4. PoS Bridge
  5. Getting Started With Matic SDK

Getting Started With Matic SDK

Getting started with the Matic SDK

Installation

The easiest way to consume the SDK is via NPM. To install it in your project runnpm install @maticnetwork/maticjs

Usage

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.

Originally published @ https://docs.matic.network/docs/develop/ethereum-matic/pos/using-sdk/getting-started

Was this article helpful to you? Yes No

How can we help?