Skip to main content

Install Ronin Wallet SDK

Overview

This guide explains how to install the Ronin Wallet JavaScript SDK for accessing Ronin Wallet features.

Prerequisites

Install the Ronin Wallet SDK

From you project directory, install the SDK using yarn or npm:

yarn add @roninnetwork/wallet-sdk
npm install --save @roninnetwork/wallet-sdk 

Initialize the SDK

  1. In your project's script, import the SDK:
import { WalletSDK } from "@roninnetwork/wallet-sdk"
  1. Create a new WalletSDK instance:
const walletSdk = new WalletSDK(options)

Congratulations, you successfully imported and created a Ronin Wallet SDK instance.

For a full list of options, see Ronin Wallet JS SDK.

Next steps

Was this helpful?
Happy React is loading...