Skip to main content

Architecture for a web3 game

📝In this article, we cover:
  • An introduction to technical architecture for a web3 game
  • Benefits of selecting the right architecture
  • A summary of key architecture decisions

Introduction

This series introduces game builders to the technical architecture for a web3 game. This includes components of the web3 stack, decisions around requirements, and considerations for making those decisions. By the end of this series, you’ll understand the technical requirements needed to add digital assets to a game, and be able to select the right components for your game.

Technical architecture benefits

Technical architecture provides the foundations for building a scalable game on Immutable. It is an upfront investment that impacts cost, implementation, and scalability. Selecting the right architecture has several benefits:

  • Increased adaptability to web3-specific game mechanics and economy
  • Reduced cost and maintenance over time
  • Greater reliability (up-time) and game performance
  • Greater security benefits

How to use this section

The table below provides a summary of key architecture decisions when making a web3 game. The content is modular, however we suggest that beginners read the articles in order.

There is no one size fits all approach for making architecture decisions. Instead, this will largely be determined by the type of game you’re building, the specific mechanics in that game, and the blockchain requirements that stem from those mechanics. Instead of comparing specific options for components, our aim is to ensure that you understand the purpose of each decision, and that you can make the right decision for your game.

StepsArticleSummary
1Determining your blockchain connectionTranslate your game mechanics into blockchain requirements.
2Determining your integration modelUnderstand the different ways you can interact with Immutable zkEVM.
3Selecting a node provider Connect your game to a blockchain using a node provider.
4Efficient Metadata Design, Storage, and RetrievalLearn about the differences between on-chain and off-chain data and which one to use for your assets.
5Selecting an asset database providerHow and where to store your NFT metadata.
6User authentication and wallet supportHow to authenticate users upon login, and enable them to connect their wallet to your game. Also covered here is the topic of self-custody of assets.
7Considerations for Treasury & Minter Key ManagementLearn about how to select and structure your treasury wallet. Understand the differences in permissions for your internal users. Safeguard access to your L2 private keys.