Prequisites to building a marketplace in Unity
There are several prerequisites you need to be familiar with before you can start building a marketplace in Unity.
This tutorial series assumes you already know how to develop games with Unity, including creating and managing scenes, working with game objects, and basic scripting in C#.
You should already be familiar with the Immutable Unity SDK. If you're you haven't used our SDK before you can find more information in the Unity SDK documentation including the Unity SDK Reference.
You will also need to have a game registered in the Immutable Hub. If you haven't already done this, you can find the steps in the Build a game with Unity tutorial.
Prerequisites
Prerequisite | Description |
---|---|
Unity Version | Unity 2021.3.26f1 is the version used to build the sample game. |
Active Unity License | A free personal license can be used. |
Immutable Hub Account | An account on Immutable Hub is required to manage projects, create a Passport client, register your game and deploy your NFT collections. |
Registered Project | A project registered in the Immutable Hub for your sample game if you haven't already. |
Deployed Contracts | The NFT & ERC-20 contracts required by the sample game if you haven't already. |
Link Contracts to Project | You must link all relevant game contracts to the Immutable Hub project, enabling pre-approved transactions. For detailed instructions, see this guide on enabling pre-approved transactions. |
Required packages
To build the marketplace functionality in this tutorial, you will need to install the following packages.
Package | Description |
---|---|
Immutable Unity Orderbook | The Unity Orderbook package allows you to create, cancel, and execute orders. |
Immutable Unity zkEVM API | The Unity zkEVM API package allows you to interact with Immutable zkEVM APIs to display NFT inventories and marketplace listings, as well as search for NFTs based on their attributes. |
Next steps
Once you've installed these prerequisites you're ready to get started building a marketplace in Unity by displaying the player's NFT inventory. Click next below to continue the tutorial series.