Skip to main content

Build a marketplace in Unity

This tutorial series walks you through the in-game marketplace in our Unity sample game and teach you the principals behind how it works.

You will learn how to setup your environment, deploy a collection as well as create, cancel and fill orders.
Build a marketplace in UnityBuild a marketplace in Unity
💡Who is this for?
This tutorial series is for game developers who want to learn how to build a marketplace in Unity on Immutable zkEVM.

This tutorial builds on our previous guide, Build a Game in Unity, which covers essential fundamentals like setting up your development environment and deploying contracts.

We'll take those foundations further by integrating an in-game marketplace into our Unity sample game, allowing you to dive into key marketplace actions such as creating, cancelling, and fulfilling orders.

Key Points for Developers

  • Our SDK provides a user-friendly interface for interacting with the Immutable zkEVM blockchain and handling NFT transactions.
  • The sample game serves as a practical example of how to implement the marketplace functionality within a Unity project.

By understanding the core features and benefits of our marketplace solution, developers can effectively integrate NFT functionality into their games and create engaging experiences for their players.

What's in this tutorial series?

There are several tutorials in this section that cover the more advanced topics of building a marketplace in Unity on Immutable zkEVM. This includes:

  • Displaying player NFT inventories and showcasing their collection within the game.
  • Displaying marketplace listings and enabling searching for NFTs based on their attributes.
  • Creating, cancelling, and fulfilling NFT orders to facilitate smooth player transactions.

If you're not familiar with some of the other basic concepts mentioned in this tutorial series such as authenticating players, connecting their wallets and using NFTs in your game, we recommend you start with the Build a Game in Unity tutorial instead.

Build a marketplace in Unity tutorials

Audience: Developers
TutorialDescription
PrerequisitesBefore you get started there are some prerequisites you should be familiar with to get the most out of this tutorial series.
Display player inventoriesLearn how to display a player's NFT inventory. This allows players to view their NFT collections within the game.
Display marketplace listingsLearn how to display active NFT listings in your game. This allows players to view which NFTs are currently for sale.
Creating ordersLearn how to create orders in your game. This allows players to list their NFTs for sale in the marketplace.
Cancelling ordersLearn how to cancel orders in your game. This allows players to remove NFTs from the marketplace that have been previously listed for sale.
Fulfilling ordersLearn how to fill orders in your game. This allows players to purchase NFTs listed for sale in the marketplace.

How do I use this tutorial series?

At the end of the tutorial series, you would be able to create a marketplace in your Unity game. We highly recommend completing the tutorials in order, as each tutorial builds on the previous one.