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.
Install the altura-js
package with NPM:
npm install @altura/altura-js
or
Install the altura-js
package with YARN:
yarn add @altura/altura-js
To use the Altura SDK in your code, you need to import as follows.
const { Altura } = require("@altura/altura-js")
const altura = new Altura(API_KEY); // API_KEY is optional
API key is optional, which means you are able to user only read functions without putting an API key
To learn more about the altura-js
SDK function, please visit our official documentation via: