What Systems Make Up an In-Game Economy Stack? A Game Economy System Map

Tolga profile photo
Tolga
November 20, 2026
What Systems Make Up an In-Game Economy Stack? A Game Economy System Map featured image

A map of the server systems behind a live game economy, where wallets, stores, and sinks should live, and what publishers check before they trust a stack with real money.

What is an in-game economy stack?

An in-game economy stack is the set of backend systems that hold, move, price, and record value for every player in a live game. It is the production side of a game economy system. Design decides what a sword costs. The stack makes sure the sword is paid for once, delivered once, and logged.

Most stacks have the same nine parts: a wallet with a transaction ledger, an inventory, a grant (reward) engine, a store and catalog, purchase and ad validation, sinks, a delivery mailbox, live configuration and targeting, and an event log. Games differ in how much of each they use, not in whether they need them.

The economy is one system inside the metagame. Progression, achievements, energy, and live events sit next to it and call into it whenever they pay out or charge. Our meta game design guide covers that wider layer, and how in-game currency systems work covers currency design, sources and sinks, and inflation. This guide stays on the systems underneath.

How does the economy stack fit into a live game’s layers?

The economy stack spans every layer of a live game, not just one. A useful lens is the four layers we use in our docs to describe how a live game is built: infrastructure, custom server logic, metagame systems, and LiveOps customization.

LayerEconomy jobSystems
InfrastructureKnow who owns what, store it durably, scale under loadAccounts and auth, database, game backend runtime
Custom server logicEnforce rules config can’t expressValidation hooks, anti-fraud checks, support tooling
Metagame systemsHold and move valueWallet and ledger, inventory, grants and rewards, store, sinks, mailbox
LiveOps customizationChange values per player without a releaseRemote config, audiences, experiments, live events

The economy is not a client feature with a server attached. It is a server feature with a client view.

What systems make up an in-game economy stack?

Each system owns one job. Trouble starts when two systems both claim it, or nobody does.

Wallet and transaction ledger

A game virtual wallet holds currency balances per player. The ledger matters more over time: a record of every change, with the amount, the reason, and the context that caused it. A balance tells you where a player is. The ledger tells you how they got there, which is what support, finance, and fraud review all ask. Every balance change should be a transaction against the ledger, never an overwrite.

Inventory

Inventory holds what players own that isn’t a number: gear, cosmetics, consumables, crafting materials, keys, and time-limited items such as rentals or expiring boosts. Item definitions (stackable, consumable, max count) stay separate from player state (who owns how many). Items carry value too, so inventory changes belong in the same audit trail as currency.

Grants and rewards

The grant engine should be the only system that creates value. Quests, achievements, event placements, battle pass tiers, and store purchases all call it with a reward definition, and it resolves that definition into currencies, items, or modifiers. Fixed and random payouts are both reward definitions on top of this one engine; our guide to pity systems, gacha, and loot boxes covers the random side.

Centralizing grants is the highest-value design choice in the stack. When every feature writes balances its own way, you end up with ten faucets and no single place to see, log, or cap them.

Store and catalog

The store prices things. Its catalog maps each offer to a cost (a currency amount or a platform SKU) and a reward definition, plus metadata like category, availability, and purchase limits. Bundles and time-limited deals are catalog entries with schedules and targeting, not new code paths.

Purchase and ad validation

Purchase validation is the core of a game monetization backend. Real money enters through app stores and ad networks, and neither should be trusted from the client. The client sends the receipt to the server, which verifies it with Apple, Google, or another provider, records it against the player, and rejects a receipt that was already fulfilled (a pending one stays retryable until the grant lands). Refunds and subscription changes arrive later as server-to-server notifications, so the stack needs a way to act on them. Rewarded ads follow the same pattern: the ad network calls your server when an ad completes, and the reward is granted only after that callback checks out.

Sinks

Sinks are where value leaves: upgrades, crafting, entry fees, rerolls, energy refills, and soft-currency store purchases. In the stack, a sink is a spend that checks the balance and debits it in the same transaction as the thing it buys. The classic bug is a two-step sink: debit in one call, grant in another. When the second call fails, the player is charged and gets nothing. When the client retries, they may get it twice.

Mailbox and deferred delivery

Not every reward can land instantly. Post-event payouts, compensation after an outage, gifts, and team rewards go into a mailbox the player claims later. The mailbox gives you reliable delivery to offline players, an expiry for unclaimed rewards, and a clean record of what was sent versus what was claimed.

Live config, targeting, and experiments

Prices, reward amounts, drop weights, store rotations, and event schedules should be data the server reads, not constants in the client build. On top of that sits targeting (who sees which values) and experiments (which variant performs better). This is where the economy meets game LiveOps: a discount for lapsed spenders or a reward test on a slice of new players is a config change, not a release.

Event log and analytics

Every grant, spend, purchase, and claim should emit an event with the player, the amount, the source or sink, and the config version that produced it. That stream feeds dashboards, segmentation, and experiments.

Where should wallets, stores, and sinks live?

Wallets, stores, and sinks should live on the server. The client shows balances, renders the store, and asks for actions. It never decides a balance, a price, or a reward.

The clean split is between data definitions and player state. Definitions describe what exists: currencies, items, prices, reward tables, and store offers. Player state is what each player holds and has done. Definitions live in versioned config with a per-player override path. Player state lives in the game backend database. The server merges the two on every request.

WhatWhere it livesWho can change it
Currency definitions, prices, reward definitionsVersioned server configDesigners and LiveOps, through config or a console
Balances, inventory, claimed rewardsGame backend databaseServer logic only
Receipts and purchase historyGame backend database, linked to the playerServer, after provider validation
Per-player overrides (offers, discounts, tests)LiveOps platformLiveOps team, by audience
Store UI, animations, local cacheClientClient, for display only

Any balance the client can write can be edited, replayed, or duplicated.

How do the economy systems work together?

One purchase touches almost every system in the stack. Say a player buys an event bundle with real money:

  1. The client completes the platform purchase and sends the receipt to the game backend.
  2. Purchase validation verifies the receipt with the provider and records it as pending against the player. A previously fulfilled receipt is rejected; a pending receipt stays retryable until the grant commits.
  3. The store resolves the offer from the product or offer ID tied to this purchase (and the config version the player was targeted with), so a later catalog change cannot swap the reward under a pending receipt.
  4. The grant engine resolves the offer’s reward and applies it: currency to the wallet ledger, items to inventory. Only then is the receipt marked fulfilled.
  5. The server emits a purchase event with a non-sensitive purchase ID, the offer, the reward, and the config version.
  6. Analytics and the LiveOps platform pick up the event, update the player’s audiences, and count it toward any running experiment.

If validation succeeds but delivery fails, the player should have a durable, retryable path to receive the whole bundle, and a retry should never deliver it twice. Because the store provider and analytics sit outside your database, that usually means idempotent grants and a durable outbox, not one transaction across every step. That property, more than any feature list, separates a production economy stack from a prototype.

What makes an in-game economy auditable?

An auditable economy can answer “why does this player have this?” for any balance, on any day. Support, finance, and platform partners will all ask.

Five things make it possible:

  • A ledger with reasons. Every change records what caused it (an offer ID, a quest ID, a compensation ticket), not just the amount.
  • Idempotent grants. A retried request with the same ID is applied once. Without it, a dropped connection and a retry can pay the same reward twice.
  • Stored receipts. Every real-money purchase links to a validated receipt, and refunds update that record.
  • Versioned config. You can tell which prices and reward values a player saw when they bought.
  • Support tools on the same path. Compensation and manual grants go through the same grant engine and ledger as gameplay rewards, through an authenticated server call, not a database edit.

When a publisher runs several live titles, these rules have to hold across titles, regions, and teams.

Build or buy: what publishers weigh

Any team can build a wallet. The cost of an in-game economy backend is everything around it: the ledger, validation for each store, refunds, the mailbox, config versioning, targeting, experiments, analytics, and the tooling to support it all for years. Publishers and larger studios usually check:

QuestionWhy it matters
Do we own the player and economy data?Finance, compliance, and any future migration depend on it
Is every grant and spend server-side and atomic?Exploits and double grants are economy bugs, not client bugs
Can LiveOps change values without a client release?Tuning that waits for app store review arrives late
Can we target and test economy changes by audience?A price change is a hypothesis until it is measured
Can we self-host or run managed, and move between the two?Avoids lock-in as titles and regions grow
Does it hold up at launch-day and event-day load?The economy takes the most traffic when traffic peaks

If you are choosing the wider platform at the same time, our guide to game backend as a service covers the managed vs self-hosted trade-off, and what a game backend is covers the foundation layer.

Where Heroic fits

Nakama, our open-source game backend, is the foundation layer: accounts, storage, a server runtime, and a virtual wallet with a transaction ledger that has transactional guarantees. Nakama also validates in-app purchases server-side for Apple, Google, and Huawei, flags receipts it has seen before, and updates purchase state from refund notifications.

Hiro, our metagame toolkit built on Nakama, provides the economy systems as configuration. Its Economy system covers currencies with atomic transactions, a virtual store with receipt validation, rewarded video verified server-side, donations, and rewards that can be guaranteed, weighted, or boosted by temporary modifiers. Inventory, the reward mailbox, achievements, and event leaderboards pay out through the same reward definitions. Halfbrick rebuilt Magic Brick Wars on Nakama and Hiro in nine weeks, reworking its progression, inventory, and economy systems while eliminating 75% of its previous backend code.

Satori, our LiveOps platform for games, connects to Hiro so every Hiro system, economy included, becomes remotely configurable as a feature flag, with audiences and experiments and no extra client code. Hiro publishes server-side events such as purchases to Satori, which uses them for segmentation.

For publishers running several live titles, Heroic Cloud is the managed path for the same stack, on GCP or AWS across North America, Europe, and Asia, with dedicated resources, SOC 2 Type II certification, and economy data that stays yours.

FAQ

What systems make up an in-game economy stack?

A wallet with a transaction ledger, an inventory, a grant or reward engine, a store and catalog, purchase and ad validation, sinks, a mailbox for deferred rewards, live config with targeting and experiments, and an event log. Progression, achievements, and events call into these systems whenever they pay out or charge.

What stack do you need for an in-game economy?

A game economy system needs three layers: a game backend for accounts, storage, and server logic; a metagame layer that runs the wallet, inventory, rewards, and store as server-side systems; and a LiveOps layer that changes economy values by audience without a client release. You can build each layer or buy it, but all three need to exist.

Where should wallets, stores, and sinks live?

On the server. Balances, prices, grants, and spends should all be decided by the game backend. The client renders the store and requests actions, but any balance it can write can be edited, replayed, or duplicated.

What is the difference between a wallet and a ledger in a game economy?

The wallet holds a player’s current balances. The ledger is the record of every change to those balances, with the amount and the reason. The wallet tells you where a player is; the ledger tells you how they got there, which support, finance, and fraud review all need.

Why should one system handle all reward grants?

Because every grant is a faucet. When quests, events, store purchases, and compensation all call one grant engine, you can see, cap, log, and test every source in one place. When each feature writes balances its own way, inflation and duplicate grants are hard to find.

How do you make a game economy auditable?

Record a reason with every ledger entry, make grants idempotent so retries apply once, store validated receipts against the player, version the economy config, and run support grants through the same grant engine instead of editing the database.

Should a studio build or buy its in-game economy backend?

Building a wallet is easy. Building the ledger, store validation, refunds, mailbox, config versioning, targeting, experiments, and support tooling, then running them for years, is the real cost. Publishers usually buy or adopt a stack they can self-host or run managed, as long as they keep ownership of the player and economy data.

Enterprise metagame systems

See how studios ship economy, progression, and social systems without rebuilding them.

Walk through Hiro on Nakama: rewards, inventories, currencies, and event systems your team can configure and ship faster. Book a demo to see it in action.

  • SOC 2 Type II certified
  • Production-ready economy & progression modules
  • Supporting $5B+ in games revenue