# How do I monetize an HTML5 game?

> How to monetize HTML5 games: what ads, donations and item sales pay, and how to sell lives, skins and level packs in Cherry from day one, listed free.


You monetize an HTML5 game in one of three ways: show ads (through a game portal or Google's H5 Games Ads), ask for donations or a paid download, or sell things inside the game. Ads pay per view and need large traffic. For a small studio deciding how to monetize HTML5 games, the faster earner is selling lives, skins and level packs to players who can pay on the spot, and a free listing in [Cherry.fun](https://cherry.fun/learn/features/cherry-wallet/) puts those players in front of the game from the first day.

That is the point of selling there. Cherry players sign in with Google, Apple, X or Telegram and top up with a card, so many already hold funds when they open your game, and an extra life costs them a single approval. They already browse hundreds of mini-apps and games inside the wallet, which gives a new title a crowd that came to play.

## Which ways of earning work for an HTML5 game?

A small studio can set up five models without a publisher.

| Model | Where | What you get | What stands in the way |
|---|---|---|---|
| Ads on a portal | [Poki](https://developers.poki.com/guide/working-with-poki), [CrazyGames](https://docs.crazygames.com/) | A share of revenue: Poki splits it 50/50 on players it sends and leaves you 100% of players you bring | Poki chooses every game it publishes and asks for open-web exclusivity; CrazyGames pays only after a game graduates to Full Launch |
| Ads on your own site | [Google's Ad Placement API](https://developers.google.com/ad-placement) | Interstitial (including preroll) and rewarded ads, timed by the API | [H5 Games Ads](https://developers.google.com/ad-placement/docs/beta) is by application and needs an approved AdSense account; approval is not assured |
| Donations | [itch.io](https://itch.io/docs/creators/html5) | Whatever players choose to give | Browser-played HTML5 games take payments only as donations; a paid game has to be a download |
| Telegram Stars | [Telegram mini apps](https://core.telegram.org/bots/payments-stars) | Sales of digital goods to Telegram users | Digital goods must be paid in Telegram Stars |
| Item sales in Cherry | [portal.cherry.fun](https://portal.cherry.fun) | Lives, skins, level packs and paid modes, paid from the player's wallet from day one | Transactions are on Solana; new listings start with low per-purchase limits |

For a portal-by-portal look at submission rules, see [where to publish HTML5 games](https://cherry.fun/learn/guides/where-to-publish-html5-games/).

## Why do prerolls and rewarded ads pay little at indie scale?

Ads pay for attention, so income follows plays. A game with modest traffic earns little from ad breaks, and every break interrupts the run. Portals add their own gates: on CrazyGames a new game spends 7 to 21 days in Basic Launch with video ads, banners and in-game purchases switched off, and only games whose engagement metrics meet its benchmarks move on to Full Launch and start earning.

Selling items works the other way round. A small group of engaged players who each buy an extra life or a skin can out-earn a far larger crowd that sees one preroll each. The obstacle on the open web is the checkout: a card form asks a lot of a stranger in a browser tab for a small purchase. Inside Cherry, every player arrives signed in with a wallet, and anyone short of funds tops up inside Cherry with a card, Apple Pay, Google Pay or PayPal, so your game builds no sign-up form, wallet-connect screen or on-ramp.

## Before you start

- An HTML5 game served over HTTPS from a host where you can set response headers.
- A Solana wallet address to receive payments, and a plan for how the game records a purchase (a server that checks the transaction, or on-chain state your game reads).
- Node.js and npm, or an AI coding agent such as Claude Code or Cursor.
- Terms of Service and a Privacy Policy, or Cherry's standard ones.

## Step 1: Decide what players buy

Pick items that work as single purchases, such as an extra life, a cosmetic skin, a level pack or a paid hard mode. Price them as one-off buys: [recurring subscriptions are refused](https://portal.cherry.fun/docs/mini-apps/wallet) for Unverified and Verified mini apps.

Sell things players use, not chances to win. Cherry's [Mini App Policy](https://portal.cherry.fun/docs/mini-apps/policy) puts loot boxes with tradable rewards and paid games of chance under separate gambling rules; a free-to-play game of skill lists like any other game.

You know this step is done when every paid item has a name short enough for a one-line label, such as "Buy 3 lives".

## Step 2: Register the game in the listing wizard

Open the [listing wizard](https://portal.cherry.fun/dashboard/launch) and register the game: name, one-line pitch, category, icon and cover. Say how it earns (sales of items), set the age rating to 18+, which Cherry's Mini App Policy requires for any app that asks players to sign a payment, and accept the terms with your wallet. Listing costs nothing and there is no review queue: you register the game now and press Publish to Cherry in the wizard's last step once the integration below passes the automated test.

Once published, it opens inside Cherry on iPhone, Android, the Seeker and the web. App Store, Google Play and Solana dApp Store users reach your game through Cherry, which is on those stores, so you need no store listing or store review of your own. Players arrive with wallets on Solana, BNB, Base and Robinhood Chain and use Cherry in ten languages. The [builder overview](https://cherry.fun/learn/features/list-a-mini-app-for-free/) explains the listing in full.

## Step 3: Sign the player in and connect the wallet

Install `@cherrydotfun/miniapp-sdk`, or paste the integration brief the wizard generates into your coding agent. Allow Cherry to frame the game with the header from the [Quickstart](https://portal.cherry.fun/docs/mini-apps/quickstart):

```http
Content-Security-Policy: frame-ancestors 'self' https://chat.cherry.fun https://cherry.fun https://*.cherry.fun
```

Cherry signs the player in before the game loads, so show their name or wallet on the title screen and never a connect-wallet button. Key saves and purchases to the user ID in the launch token, and keep them out of cookies, since browsers block third-party cookies inside frames.

Serve the domain proof file at `/.well-known/cherry-app.json` and run the automated test.

You know it worked when the game opens in your private test room showing your own name and the automated test passes; then press Publish to Cherry.

## Step 4: Sell each item in a labelled transaction

A purchase is a Solana transaction the player approves in Cherry's own wallet sheet, which shows your game's name, the amount it decodes and the label you pass. The [wallet docs](https://portal.cherry.fun/docs/mini-apps/wallet) give this example:

```ts
await cherry.wallet.signAndSendTransaction(tx, { label: 'Buy 3 lives' });
```

Build the transaction fresh and grant the item only after your server sees it confirmed. The player's keys stay on their device, and network fees apply to each purchase.

Mini apps sign Solana transactions only today. Players holding funds on BNB, Base or Robinhood Chain can swap to Solana inside Cherry first.

## Step 5: Raise the limits when sales grow

A new listing is Unverified: up to $50 per transaction and $50 per wallet per day in your game, reset at 00:00 UTC. Most small items fit. A [three-minute identity check](https://portal.cherry.fun/docs/mini-apps/verification) of the project owner lifts that to $1,000 per transaction and $5,000 per wallet per day, for every project you own.

Cherry asks no fee on what the game earns. If it does well, you can send Cherry a voluntary tip.

## Troubleshooting

- **A purchase is refused as over the limit.** Your item costs more than the tier allows. Offer a smaller bundle, or verify the project owner.
- **A player hits the daily limit.** Show a short message; the limit resets at 00:00 UTC.
- **The automated test fails on a connect button.** Remove any wallet-connect link from the Cherry build, in every language your game ships.
- **Progress disappears between sessions.** Saves stored in cookies are blocked inside frames. Store them on your server against the player's user ID.
- **The test warns about external checkouts.** Links to Stripe, PayPal or card on-ramps raise a warning, not a block. Inside Cherry, sell through the wallet.

## Related guides

- [List a mini app for free](https://cherry.fun/learn/features/list-a-mini-app-for-free/)
- [Where to publish HTML5 games](https://cherry.fun/learn/guides/where-to-publish-html5-games/)
- [How to monetize a web app](https://cherry.fun/learn/guides/how-to-monetize-a-web-app/)
- [How to build a mini app](https://cherry.fun/learn/guides/how-to-build-a-mini-app/)
- [Chat for web3 games](https://cherry.fun/learn/guides/chat-for-web3-games/)
- [Telegram mini app alternatives](https://cherry.fun/learn/compare/telegram-mini-app-alternatives/)

Get Cherry on [iPhone](https://apps.apple.com/app/cherry-fun-solana-messenger/id6749173799), [Android](https://play.google.com/store/apps/details?id=fun.cherry) or [the web](https://chat.cherry.fun) to try mini-app games as a player, then list yours at [portal.cherry.fun](https://portal.cherry.fun).

## FAQ

### How much can an HTML5 game make from ads?

There is no fixed rate: ad income depends on how many plays you get, where players are and how often an ad break fits the game. On a portal you also share it; Poki, for example, splits revenue 50/50 on the players it sends. Small games usually see small amounts.

### Can I sell items inside a browser game?

Yes, but the open web makes it hard. itch.io sets browser-played HTML5 games to donations only, CrazyGames allows in-game purchases for selected games only, and your own site needs a checkout. Inside Cherry, players buy from the wallet they already have, in a transaction they approve.

### How do I price lives and skins under the $50 starting limit?

A new listing is Unverified: at most $50 per purchase and $50 per wallet a day in your game, counted in US dollars. Price items and bundles under that, with headroom if you price in SOL, and offer a smaller bundle when a purchase is refused as over the limit. Once the project owner passes the identity check, the caps rise to $1,000 and $5,000.

### Do skins and level packs count as gambling under Cherry's Mini App Policy?

No. One-off items players use, such as extra lives, cosmetic skins, level packs and a paid hard mode, sell like any other item, each in a labelled Solana transaction the player approves. Loot boxes with tradable rewards and paid games of chance fall under separate rules in the policy.

### Can I keep my Poki or CrazyGames version and also list in Cherry?

It depends on your portal deal. Poki's standard deal asks for web exclusivity: no publishing the same game on other web portals or aggregators, while Steam, app stores and consoles stay yours. For games already live elsewhere on the web, Poki offers a one-time flat license fee instead. Cherry also runs on the web, so check your Poki or CrazyGames agreement before you list the same build.

## Sources

- [Poki for developers: working with Poki](https://developers.poki.com/guide/working-with-poki)
- [Poki for developers: how Poki partners with you](https://developers.poki.com/guide/revenue-deal-types)
- [CrazyGames developer documentation](https://docs.crazygames.com/)
- [Google Ad Placement API for HTML5 games](https://developers.google.com/ad-placement)
- [Google H5 Games Ads: how to apply](https://developers.google.com/ad-placement/docs/beta)
- [itch.io: uploading HTML5 games](https://itch.io/docs/creators/html5)
- [Telegram: payments in Telegram Stars](https://core.telegram.org/bots/payments-stars)
- [Cherry mini apps overview](https://portal.cherry.fun/docs/mini-apps)
- [Cherry mini apps: quickstart](https://portal.cherry.fun/docs/mini-apps/quickstart)
- [Cherry mini apps: wallet and limits](https://portal.cherry.fun/docs/mini-apps/wallet)
- [Cherry mini apps: verification](https://portal.cherry.fun/docs/mini-apps/verification)
- [Cherry Mini App Policy](https://portal.cherry.fun/docs/mini-apps/policy)

