Skip to main content

How to use Passport in my game

If you want to use Passport in your game for user authentication or as a blockchain wallet, this guide is for you.

There are various ways to integrate Passport depending on what you want to achieve. This guide will point you at resources you need to get started.
in-game passport guidein-game passport guide
💡WHO IS THIS FOR?
This guide is primarily for developers and potentially project managers who want to understand the Passport integration process.

Integrating Passport into your game is a key step in utilising Immutable zkEVM. How you integrate it will depend on whether you're building an Unreal, Unity or Web based game, and which features you want to use.

Why use Passport in your game?

Passport provides a seamless experience for your players as both an identity provider and as a non-custodial blockchain wallet. You can use other wallets on Immutable zkEVM, but Passport is tailor made to deliver the best player and developer experience on our platform.

Our SDKs provide you with methods to easily perform the most common tasks you need in-game like logging in or sending a transaction.

And Passport provides your users a seamless experience with pre-approved transactions and gas free transactions.

How to integrate Passport

Unity

The best resource to learn how to integrate Passport with Unity is our Build a game with Unity tutorial. It's a great place to start to get the end to end view of how to integrate Immutable zkEVM and Passport into your game as an identity provider and wallet. In this tutorial you can find comprehensive integration steps, code snippets and our example game and contracts.

If you prefer video tutorials, you can check out the Makerversity Unity video series which covers everything from logging in with Passport to minting NFTs.

Beyond this there's the Unity SDK documentation which can help you get started and details the SDK's supported functionality.

Unreal

The best resource to learn how to integrate Passport with Unreal is the Makerversity Unreal video series. This series includes 15 videos covering topics like setting up the Unreal SDK, player authentication, NFT minting and management, and utilizing NFTs in-game.

Beyond this there's the Unreal SDK documentation which can help you get started and details the SDK's supported functionality.

We are working on more Unreal resources, so keep an eye on our tutorials page for updates.

Web

The best resource to learn how to integrate Passport with a Web Based game is our Build a game tutorial. This series is a collection of step-by-step tutorials that will get you from zero to Web3 game in record time.

Beyond this there's the Passport documentation which is a useful resource whether you're building on the web or other platforms.

Summary

Hopefully this guide has helped you to find the resources you need to get started integrating Passport into your game no matter which platform you're building on. If you need any further assistance or have any queries, join our community of builders on Discord.


Related content