norva-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.2.6 • Public • Published

Norva SDk Documentation

Table of Contents

  1. Installation
  2. Usage
  3. Examples
  4. API Reference
  5. Contributing
  6. License

Installation

To install the SDK, you can either use a package manager like npm or include it directly in your HTML file using a <script> tag.

Using npm

npm install sdk-package

Usage

const SDK = require('sdk-package');
or
import SDK from 'sdk-package';

how the Sdk work

first users must have the BLue norva nft. So they can chekc their blue norva balance by call the ERC721 class

  import {Erc721Contract} from "norva-sdk"
  // signer, address and provider are gotten from wagmi or rainbow kit sdk
  // signer user signature
  // address => blue norva nft Address
  // rpc => link
  const blueNorva= new Erc721Contract(address,signer,provider)
  const userBalance=blueNorva.balanceOf(userAddress)
 

Readme

Keywords

Package Sidebar

Install

npm i norva-sdk

Weekly Downloads

2

Version

1.2.6

License

ISC

Unpacked Size

701 kB

Total Files

46

Last publish

Collaborators

  • enoch-danijel