-
Notifications
You must be signed in to change notification settings - Fork 19
Home
?
๐ฎ ๐น ๐ฒ Unity3D SDK to integrate everything NFTs cross-chain at lightning speed!
-
Your API requests are authenticated using API keys. You can get your free API key by signing up for an NFTPort account.
-
The NFTPort Unity SDK is made using Unity 2021 LTS and also tested on Unity 2020. We recommend using the latest Unity 2021 LTS. However, the SDK should be compatible with other Unity versions as well. If you've found any incompatibilities or errors on import, please open an issue on Github.
- Option 1: Import as a package using Git URL: In Unity's Package Manager, click the '+' on the top left corner and select 'Add package from git URL.'
https://github.com/nftport/nftport-unity.git
- Option 2: download the latest release and import the folder in your project.
On Import, additional packages will be installed automatically. In case its not, you may install dependencies via NFTPort/Install Dependencies. In case you already have dependencies ( for eg: JSON.net in Assets folder instead of via newtonsoft in packages) and is conflicting you may remove the newtonsoft package via UPM, or delete the JSON.net from assets folder as it'll be imported via UPM.
The best way to learn is by doing! We've provided a number of examples for play, view importing samples.
Set your API Key at NFTPort / Home.
You may add Assets/NFTPort/Resources/UserPrefs
to your .gitignore
to avoid exposing your API keys.
Explore features, examples, usage and more under the Unity SDK tab on left on this page.
NFTPort's Unity SDK features are highly composable and can be used in editor or runtime modes.
Features can be spawned via NFTPort/Spawner or using any of the Unity's default add game object / add component menus. They are available at Packages/NFTPort/Runtime/
.
You do not need to spawn features if you do not wish to refrence or use the feature components in editor, you can just call Initialise() for each feature class from your own scripts. View individual feature documentation for more.
Join the NFTPort discord to engage in discussions and explore if the game mechanic you are trying to implement can already be achieved by existing features. To report a bug/issue/help - Use Github Issues. To request features may also use Product Board.
โ
- Supported
โ - Not supported as of now
๐งญ - Planned
๐ - In consideration according to requests
Get fast and reliable data.
API Feature | Ethereum | Goerli | Polygon | Solana |
---|---|---|---|---|
Contracts, Metadata & Assets | ||||
Retrieve NFT details | โ | โ | โ | โ |
Retrieve contract-collection NFTs | โ | โ | โ | โ |
Ownership including NFT metadata and details: | ||||
Retrieve NFTs owned by an account | โ | โ | โ | โ |
Retrieve NFTs owned by an account in a particular collection | โ | โ | โ | ๐ |
Easy mint NFTs with single component.
API Feature | Ethereum | Goerli | Polygon | Solana |
---|---|---|---|---|
Easy Minting | ||||
Via URL | ๐ | โ | โ | ๐งญ |
Via File | ๐ | โ | โ | ๐งญ |
Deploy fully customizable NFTs and contracts with industry standards - decentralized web3 storage, metadata, custom attributes and more.
API Feature | |
---|---|
Storage | |
List all your IPFS uploads | Via dashboard |
Upload a file to IPFS | โ |
Create and upload advanced industry standard metadata to IPFS | โ |
Upload metadata directory to IPFS | ๐งญ |
API Feature | Ethereum | Goerli | Polygon | Solana |
---|---|---|---|---|
Product | ||||
ERC 721 | โ | โ | โ | โ |
ERC 1155 | ๐งญ | ๐งญ | ๐งญ | โ |
SPL | โ | โ | โ | ๐งญ |
Deploy a contract for NFT products | ๐งญ | ๐งญ | via API | ๐งญ |
Customizable minting : Mint NFTs of your contract to any wallet | โ | โ | โ | ๐งญ |
Update a minted NFT / Dynamic NFTs | โ | โ | โ | ๐งญ |
Burn a minted NFT | โ | โ | โ | ๐ |
Transfer a minted NFT | โ | โ | โ | ๐ |
Get multichain transaction data.
API Feature | Ethereum | Goerli | Polygon | Solana |
---|---|---|---|---|
Retrieve transactions by NFT | โ | โ | โ | โ |
Retrieve transactions by collection | โ | โ | โ | โ |
Retrieve transactions by an account | โ | โ | โ | โ |
Retrieve contract sales statistics | ๐ | โ | โ | ๐ |
Tools | |
---|---|
Connect Player Wallet : WebGL | โ |
Asset Downloader: | |
Determine URL Content Type | โ |
Fetch Image asset from IPFS / web cached image | โ |
Fetch Audio file from IPFS / web | ๐งญ |
Fetch 3D object from IPFS / web | โ Use determine content type with gltFast , View Example |
NFT collection reader (bulk) | ๐งญ |
NFT Product Minting Suite | ๐งญ |