Links

Installation

Using our JS/TS SDK, you can interact with Altura's services, such as authenticating users using Altura Guard, fetching user and NFT data, and transferring, minting, and updating NFTs.

Getting Started

Requirements

Installation

npm
yarn
npm install --save @altura/altura-js
yarn add @altura/altura-js
That's it! You have successfully installed the Altura SDK.

Importing

To use the Altura SDK in your code, you need to import it as follows.
const { Altura } = require("@altura/altura-js")
​
const altura = new Altura(API_KEY); // API_KEY is optional
Adding an API key will allow you to use all the methods available in the SDK. Omitting an API key will only allow you to use the get methods
​