LogoLogo
Developer DashboardMarketplaceDeveloper Discord
  • Getting Started
    • 👋Welcome to Altura
    • ➕Creating a Project
    • â›―Blockchains & Gas Fees
    • 🖞ïļMinting and Importing NFTs
      • Minting Individual NFTs
      • Importing Collections
      • Bulk Mint NFTs
      • Lazy Mint (Primary Sales)
    • 🔗Linking Your Collections
    • ðŸ’ģThe Developer Wallet
    • 🧠Smart NFTs
    • 🎁Lootboxes
    • 🔑Getting Your API Key
    • ðŸŽŪIntegrating Altura
    • ðŸ‘ĨAuthenticating Users
      • Altura Guard (Legacy)
      • Altura Guard II
        • Integration
        • REST API Demo
  • Altura Intelligence
    • 🧑‍ðŸĶēNPC Engine
      • ðŸĪĩNPC Engine +
    • 🌎World Engine
    • ðŸ’ģPlay Wallet
    • 💁Concierge
  • Marketplace
    • 🛍ïļThe Altura Marketplace
    • ðŸŽŊListing Your Game on the Altura Marketplace
    • ✅Getting Your Collections Verified
    • ðŸŽĻCreate Your Own White-Label Marketplace
  • 🌐API Reference
    • Get Endpoints
      • Verify a User's Altura Guard Code
      • Get User
      • Get Many Users
      • Get a User's Items
      • Get Item
      • Get Items
      • Get an Item's Holders
      • Get an Item's History
      • Get Collection
      • Get Collections
      • Get a User's Item Balance
      • Get a User's ERC20 Balance
      • Get a User's Native Token Balance
      • Get a User's Domain Names (Space ID)
      • Get a User From Domain Name (Space ID)
    • Developer Wallet Endpoints
      • Transfer ERC1155
      • Bulk Transfer ERC1155
      • Mint New ERC1155 NFT
      • Mint Additional Supply of ERC1155
      • Transfer ERC721
      • Transfer ERC20
      • Consume an Item (ERC1155)
    • Smart NFT Endpoints
      • Update an Item's Property
      • Add New Properties
      • Remove Properties
      • Bulk Update an Item's Properties
      • Switch an Item's Primary Image
      • Add a New Image
      • Update an Item's Name & Description
      • Update a Collection's Metadata
    • Altura Guard II
      • Connect to user wallet
      • Revoke Connection
      • Check Connection
      • Transaction Requests
        • Polling Transaction Response
        • Submitting a signature request
        • Submitting a native transaction request
        • Submitting a contract transaction request
  • ⚙ïļUnity SDK Reference
    • Installation
    • Get Methods
      • Verify a User's Altura Guard Code
      • Get User
      • Get Users
      • Get Item
      • Get Items
      • Get an Item's Holders
      • Get an Item's History
      • Get Collection
      • Get Collections
      • Get a User's Item Balance
      • Get a User's ERC20 Balance
      • Get a User's Native Token Balance
    • Schemas
  • ⚙ïļJS SDK Reference
    • Installation
    • Get Methods
      • Verify a User's Altura Guard Code
      • Get User
      • Get Many Users
      • Get a User's Items
      • Get Item
      • Get Items
      • Get an Item's Holders
      • Get an Item's History
      • Get Collection
      • Get Collections
      • Get a User's Item Balance
      • Get a User's ERC20 Balance
      • Get a User's Native Token Balance
    • Developer Wallet Methods
      • Transfer ERC1155
      • Bulk Transfer ERC1155
      • Mint Additional Supply of ERC1155
      • Transfer ERC721
      • Transfer ERC20
      • Consume an Item (ERC1155)
    • Smart NFT Endpoints
      • Update an Item's Property
      • Add new Properties
      • Remove Properties
      • Bulk Update an Item's Properties
      • Switch an Item's Primary Image
      • Add a New Image
      • Update an Item's Name & Description
      • Update a Collections Metadata
    • Altura Guard II
      • Connect to a user's wallet
      • Revoke Connection
      • Check Connection
      • Transaction Requests
        • Submitting a signature request
        • Submitting a native transaction request
        • Submitting a contract transaction request
    • Connect to Web3 Wallet
    • Schemas
Powered by GitBook
On this page
  • Altura offers three main categories of features:
  • Integrating Altura
  • Examples of how different types of games and development environments can use Altura:
  1. Getting Started

Integrating Altura

Altura provides a variety of ways to integrate NFTs into your game, including our REST API, JavaScript SDK, and Unity SDK. Depending on the nature of your game and its platform, one option may be more suitable for you than the others.

Altura offers three main categories of features:

Get Only Features

These features allow you to fetch data from Altura, such as fetching users, items, & collections, fetching a user's items & balances, getting an item's holders & blockchain events, and more. These features can be accessed via the REST API, JavaScript SDK, and Unity SDK.

Smart NFT Features

These features allow you to update an NFT's property values, change an NFT's primary image, and update an NFT's name and description. These features can only be accessed via the REST API and JavaScript SDK and require an API key.

Developer Wallet Features

These features allow you to transfer ERC721, ERC1155, & ERC20 tokens, mint additional supply of NFTs, and more. These features can only be accessed via the REST API and JavaScript SDK and require an API key.

Integrating Altura

The REST API can be used on both the front end and back end of your game and only requires an API key to access the smart NFT and developer wallet features.

The JavaScript SDK can be used in both the front and back end of your game, depending on your needs. Read-only mode allows access to the get-only features and can be used in a web environment such as React. In full mode, it allows access to all features, including the smart NFT and developer wallet features, and is best used in a Node.js environment on the backend. To switch between full and read-only modes, provide or omit an API key when initializing the SDK. This flexibility allows developers to choose the best solution for their game's needs.

The Unity SDK is best used on the client side, as it only contains the read-only features.

Examples of how different types of games and development environments can use Altura:

Developers can use Altura in various ways in their game, such as NFTs as in-game items, weapons, or armor that players can use to improve their character's stats or abilities. Or, they could use NFTs as collectible items that players can find and add to their in-game inventory. Additionally, developers can use the get-only features on the client side and reserve their server for the additional features if necessary.

  • A mobile game developer could use the Unity SDK on the client side to fetch data and display NFTs in the game while using the REST API on the backend to handle developer wallet transactions and smart NFT updates.

  • An online multiplayer game developer could use the JavaScript SDK in full mode on the backend to handle all aspects of NFT integration, including fetching data, developer wallet transactions, and smart NFT updates.

  • A social media platform developer could use the REST API on the backend to fetch data and handle smart NFT updates while using the JavaScript SDK in read-only mode on the front end to display NFTs and verify user ownership.

You never need to specify the blockchain network your NFTs are on when using Altura. Altura automatically detects this.

PreviousGetting Your API KeyNextAuthenticating Users

Last updated 2 years ago

ðŸŽŪ