Leap Near SDK
  • Leap Near SDK
    • Introduction
    • Installation
    • Social Login and Wallet Creation
      • Desktop
      • Mobile
    • Fetch Token Balances
    • Fetch NFTs
    • Mint NFTs
      • Desktop
      • Mobile
    • Examples
      • React
      • React Native
    • FAQ
      • Webpack 5 issue
Powered by GitBook
On this page
  • Setup
  • Install SDK
  1. Leap Near SDK

Installation

@leapwallet/leap-near-sdk

Setup

Since @leapwallet/leap-near-sdk is under private npm, we would need you to setup the npm or yarn package manager to authenticate.

Kindly, send us a mail admin@leapwallet.io for the npm token for your application.

Once you receive the token.

  1. Create .npmrc in the project root folder

  2. Add the below snippet to .npmrc or .yarnrc

@leapwallet/leap-near-sdk:registry=https://registry.npmjs.org/
//registry.npmjs.org/:_authToken={TOKEN}

3. Replace {TOKEN} with the token provided by the leap team.

Install SDK

npm

npm install @leapwallet/leap-near-sdk

yarn

yarn add @leapwallet/leap-near-sdk

PreviousIntroductionNextSocial Login and Wallet Creation

Last updated 2 years ago