Blockchain game development adds a public ledger to a normal game, so players can hold, trade or move selected items and currencies outside the game. This guide covers what goes onchain, chain and wallet choices, economy design, the build steps, store rules, cost drivers, security risks and how to evaluate a blockchain game development company.
Gameplay still runs on servers and clients as usual, and writing the smart contracts for the tokens is the simpler part of the work. The harder parts are two decisions: which items belong onchain, and how to design an economy that still works when players can sell everything.
The Web3 game development guide and the Web3 gaming studio guide cover full-service studios in more depth.
What goes onchain in a blockchain game
A game loop runs dozens of state changes per second. No public blockchain can carry that load at a sensible cost, and successful titles do not try. Most blockchain games split the work three ways:
- Onchain. The chain records ownership of tradable items and any tradable currency, and it settles marketplace trades. Unique items usually use ERC-721, stackable items use ERC-1155, and currencies use ERC-20 or the chain's equivalent. Some games also record crafting or upgrade events where provable scarcity matters.
- Off-chain, on the game server. Movement, combat, matchmaking, loot rolls, non-tradable inventory, chat and anti-cheat stay on the server. The server remains the source of truth for gameplay.
- The link between them. The game backend reads chain events through an indexer and updates its database. When a player earns a tradable item, the backend creates the token or sends it to the player, using a minter account whose minting rate is capped.
An item that no player would ever sell or move outside the game does not need to be a token, because a token for it adds cost, delay and support work and gives the player nothing.
Fully onchain games
A small group of teams builds "autonomous worlds," where all game logic lives in smart contracts, often with frameworks such as MUD or Dojo on low-cost rollups. In a fully onchain game, every player and every developer reads and changes the same public game state. Fully onchain games suit slow, strategic designs where other developers can build on the game's contracts, but not real-time play.
Choosing a chain for blockchain game development
A studio should judge a chain on fees, tooling, wallets and security rather than on grant announcements.
| Option | Why studios pick it | What to watch |
|---|---|---|
| Ethereum rollups (Arbitrum, Base, OP Stack chains) | Low fees since EIP-4844 blobs, EVM tools, deep liquidity, wide wallet support | One company often runs the sequencer that orders transactions; users must bridge funds; many other apps compete for the same users |
| Gaming-focused chains (Immutable, Ronin) | Player wallets, marketplaces, gas sponsorship and publishing support built in | Dependence on one ecosystem. Ronin lost several hundred million dollars in a 2022 bridge hack and returned to Ethereum as a layer 2 in 2026. |
| App-specific rollup or L3 | Own blockspace, custom gas token, stable fees | The studio operates infrastructure, and liquidity is split from other chains |
| Solana | High throughput, low fees, compressed NFTs for very large item counts | Needs Rust and Anchor skills, a different account model and fewer EVM tools |
| Polygon PoS | Mature tools, low fees, long gaming history | Polygon's token changed from MATIC to POL; check the current roadmap and bridges |
For a first title, an established EVM rollup or a gaming chain that handles wallets reduces the crypto infrastructure the team must run. Immutable, for example, offers a Passport login with embedded wallets, an orderbook, an indexer, checkout tools and Unity and Unreal SDKs.
Wallets and player onboarding
A new player who must install a browser extension and buy gas tokens before the tutorial often leaves. Current games use three approaches:
- Embedded wallets. The player signs in with email, a social account or a passkey, and the wallet provider creates a wallet for the player in the background. The player controls the wallet, and MPC or a secure enclave protects the key.
- Smart accounts. ERC-4337 account abstraction supports gas sponsorship through paymasters, batched transactions and session keys. A session key lets the game sign low-value actions for a limited time without a pop-up on every turn. EIP-7702 went live on Ethereum with the Pectra upgrade in May 2025 and lets regular accounts use sponsorship, batching and session keys too.
- Player's own wallet. Crypto-native players can connect an existing wallet and keep assets there.
Custody needs an explicit decision. If the game servers can move player assets without the player's signature, the studio may be running a custodial service, with the legal and security duties of one.
Economy design: where most blockchain games fail
The play-to-earn boom of 2021 showed what happens when a game pays players in a token that only new players buy. Axie Infinity's Smooth Love Potion (SLP) is the best-known case: the game minted SLP rewards much faster than players burned them, and the price collapsed once growth slowed. Many other play-to-earn games saw the same collapse, often faster.
Five design rules have held up since then:
- The game must be fun without rewards. If players stay only for rewards, the economy is a subsidy that ends when new money stops.
- Every source needs a sink. Each way a currency enters the game, such as quests, drops or staking, needs a way it leaves, such as crafting, repairs, fees or cosmetics. Simulate months of play with different player mixes before launch.
- Soft and hard currencies stay separate. A non-tradable in-game currency runs the core loop, and the tradable token touches only a few systems.
- Bots and multiple accounts will appear. Scripts will farm anything that can be farmed and sold, so rewards should depend on skill, limited supply and verified identity, not on raw time played.
- Royalties are not guaranteed. EIP-2981 lets a contract declare a royalty, but each marketplace decides whether to pay it, so revenue plans should not depend on enforced creator fees.
A token sold to raise funds raises securities questions in many countries. A studio needs legal advice before any token sale, including a sale through an IGO launchpad.
Blockchain game development steps
- Prototype without a chain. Test the core loop on a normal backend, and note which items players want to trade.
- Write the ownership spec. List every token type, who can mint and burn it, supply caps, metadata storage, upgrade policy and admin keys. Metadata can sit on IPFS or on the studio's own CDN with a content hash.
- Design and simulate the economy. Model sources, sinks and player segments, including bots, in a spreadsheet or an agent-based simulation.
- Write the contracts. Use audited libraries such as OpenZeppelin for ERC-721, ERC-1155 and access control, and keep custom logic small. The smart contract development guide covers tools and testing.
- Build the link layer. An indexer turns chain events into game state, and a minting service creates tokens at a capped rate and never mints twice for one request. Reconciliation jobs find differences between the chain and the game database.
- Connect wallets and the engine. Unity and Unreal SDKs from chain and wallet providers handle signing and session keys. Chain calls should run asynchronously, so gameplay never waits for a confirmation.
- Audit and test. Get an external smart contract audit, load-test the minting pipeline and run a testnet season with real players.
- Launch in stages. Start with limited supply and modest rewards, which are easy to raise later and hard to take back.
- Operate the live game. Monitor the contracts, rotate keys, watch secondary market prices and bot activity, and tune the sinks.
Platform and store rules
Store rules limit how a blockchain game can reach players. Steam's onboarding rules list "applications built on blockchain technology that issue or allow exchange of cryptocurrencies or NFTs" among the content that cannot be published on Steam. The Epic Games Store has taken a more open position.
Apple's App Store guideline 3.1.1 lets apps sell NFT-related services such as minting and transfers through in-app purchase. Apps can show NFTs that a user owns, but Apple does not allow NFT ownership to unlock features in the app. Outside the US storefront, apps may not link to purchase methods other than in-app purchase. Google Play has its own policy for blockchain content.
A studio should read each store's current rules early, because they can force design changes, such as a trading marketplace that runs outside the game client.
Blockchain game development cost and timeline
The blockchain work is usually a small share of the total game budget. The estimates below assume standard libraries and an existing chain, and each comes from the typical scope of the task, not from survey data.
| Workstream | Typical effort and assumptions |
|---|---|
| Token contracts on standard libraries | 2 to 4 weeks for one experienced Solidity engineer, longer for custom crafting or staking logic |
| Indexer, minting service, reconciliation | 4 to 8 weeks for one or two backend engineers |
| Wallet and engine integration | 3 to 6 weeks for one client engineer with an existing SDK |
| Economy design and simulation | Ongoing work for a dedicated designer from pre-production through live operations |
| Marketplace | Weeks with the chain's existing marketplace, months for a custom one |
| External audit | Depends on code size and complexity; a small token suite takes days to a couple of weeks of auditor time |
Art, game engineering and live operations take most of the budget, as they do for any game of the same size.
For a game with a working backend, tradable items on an existing chain with a ready-made wallet SDK can take two to four months, including the audit. Economy redesign often takes longer than the engineering.
How to choose a blockchain game development company
Blockchain game development services range from contract work only to full production of the game. A studio that hires outside help should check six points:
- Shipped games. Ask for live titles and their contract addresses, and read the verified code on a block explorer.
- Game design skills. The team should include game and economy designers, not only Solidity engineers.
- Economy work. Ask for an example of a source-and-sink model and a simulation from a past project.
- Audit practice. An independent firm should audit the contracts, and the company should share past audit reports.
- Key and custody plan. The proposal should state who holds admin and minter keys, and whether the design is custodial.
- Ownership of code. The service agreement should give the studio full rights to the repositories, deployment scripts and infrastructure accounts.
Treat promises of token price support, guaranteed exchange listings or guaranteed player numbers as warning signs.
Security failure modes
- Bridge and validator compromise. In March 2022, attackers obtained enough Ronin bridge validator keys to drain several hundred million dollars. A game that depends on a bridge should understand who controls the bridge.
- Minter key leaks. A hot key that can mint unlimited items is a single point of failure, so mint rates should be capped onchain and admin roles should sit behind a multisig.
- Trust in the client. If the client tells the server "I won this item," cheaters will mint items, so the server must decide every reward.
- Lost metadata. An item whose image points to a server that later shuts down becomes a broken token. Metadata should be pinned on IPFS or hosted under a long-term commitment.
The NFT gaming platform guide covers the platform side of item ownership and trading.
When not to use a blockchain
A game does not need a blockchain if its items are not meant to leave the game, if its players do not want to trade, or if support staff must reverse transactions freely. A conventional database with a good trading system gives most of the same experience without the risk of transactions that cannot be reversed. A chain is worth adding when players would pay for portability or verifiable scarcity.
Frequently asked questions
What is blockchain game development?
Blockchain game development is the work of building a game in which some items or currencies are tokens on a blockchain. Players can hold, trade or move these tokens, while the gameplay itself runs on normal servers.
Do players need a crypto wallet to play?
Not a separate crypto wallet. Embedded wallets created at sign-in and gas sponsorship let players start without knowing that a chain is involved. Crypto-native players can still connect their own wallet if the game supports it.
Which engine works best for blockchain games?
Unity and Unreal both have SDKs from major chains and wallet providers. Web games can use standard JavaScript libraries such as viem. The game design should decide the engine, not the chain.
Should in-game items be ERC-721 or ERC-1155?
ERC-1155 is usually the better default. One ERC-1155 contract can hold many item types, including stackable ones, and batch transfers save gas. ERC-721 fits games where every item is unique and the studio wants the widest marketplace support.
Is play-to-earn still viable?
The model that paid players in a token with a fast-growing supply mostly failed. Newer designs fund rewards from real player spending and use sinks that remove currency as fast as rewards add it.
Can a studio change item stats after minting?
Yes, if the design plans for it: the studio can store gameplay stats off-chain or in upgradeable metadata and keep the token as proof of ownership. Players should know the policy in advance, because changes to items they paid for can cause trust and legal problems.