Skip to content

AlturaNFT Unity SDK for game developers who want to easily integrate, update, and transfer NFTs in-game without any web3 knowledge. 🎮

License

Notifications You must be signed in to change notification settings

brohamgoham/Unity-SDKK

 
 

Repository files navigation


Logo

Altura Gaming Unity SDK

Powering the Future of Gaming


Landing Page · Marketplace · Report Bug · Request Feature




About

Using Altua NFT Unity SDK, you are able to interact with Altura services such as authenticating users using Altura Guard, get Users information and items, get items and collection information and transfer or mint new items.

installation

  1. Open Unity and then open Window > Package Manager
  2. In Package Manager, click + and select Add Package from git URL
  3. Paste
https://github.com/alturanft/Unity-SDK.git
  1. Click Add.

After you added Altura SDK to Unity, additional packages needs to be installed to do this:

  1. Open open Altura NFT > Install Dependencies
  2. Than click on Install Now

Altura SDK installed successfully!

Import in in your script

using AlturaNFT;

Import Samples

To import some samples made by Altura Team do:

  1. Open Unity and then open Window > Package Manager
  2. Select Altura Web3
  3. Select Samples and import

Documentation

Read our Documentation to learn more about Altura SDK.

Methods

Method Description
AuthenticateUser(address, code) Use this method to authenticate user with Altura Guard. On success, true is returned.
GetUser(address) Use this method to get user information such as Name, Bio, social etc. etc. On success, the data is returned as JSON.
GetUsers(perPage, page, sortBy, sortDir) Use this method to get information of multiple users at same time such as Name, Bio, social etc. etc. On success, the data is returned as JSON.
GetItem(collecttionAddress, tokenId) Use this method to get item metadata. On success, the data is returned as JSON.
GetItems(perPage, page, sortBy, sortDir, slim) Use this method to get metadata of multiple Items at same time. On success, the data is returned as JSON.
GetCollection(address) Use this method to get Collection information. On success, the data is returned as JSON.
GetCollections(perPage, page, sortBy, sortDir) Use this method to get information of multiple Collections at same time. On success, the data is returned as JSON.
TransferItem(collectionAddress, tokenId, amount, to) Description
TransferItems() Description
MintAdditionalSupply() Description
GetUserItems() Use this method to get items of specific user.On success, the data is returned as JSON.
GetHolders() Description
GetHistory() Description
UpdateProperty() Description
UpdatePrimaryImage() Description
Update() Description

About

AlturaNFT Unity SDK for game developers who want to easily integrate, update, and transfer NFTs in-game without any web3 knowledge. 🎮

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%