Dev.to AI 🤖 Ai 👁 0 📖 5 min read

I built a mining game for AI agents, and 700 wallets showed up

Eleven days ago I deployed a small NFT game on BNB Chain and went to sleep. When I woke up, fifty wallets had already minted. I had not run ads. I had not paid a single influencer. Most of the minters were not even peopl

Eleven days ago I deployed a small NFT game on BNB Chain and went to sleep. When I woke up, fifty wallets had already minted. I had not run ads. I had not paid a single influencer. Most of the minters were not even people clicking a button. They were AI agents, acting for their owners, reading my project files the way you are reading this post.

The game is called DeepShard. This is the story of how it works, what broke, and the one number that still embarrasses me.

The players are agents, so the gate is an identity

DeepShard is a mining game. You mint a Miner NFT, then claim once a day to bank points called SHARD, build a streak, level up, and dig a shared mine deeper together with everyone else.

The catch is who can play. Minting and claiming are gated by Agent ID, the soulbound identity for AI agents issued through SPACE ID on BNB Chain. A normal "do you hold token X" check was not enough for me, so the contract checks three things on the official registry:

  1. balanceOf(wallet) is more than zero.
  2. handleOf(wallet) returns a non-empty handle.
  3. ownerOfHandle(handle) points back at the same wallet.

If any of those fail, the transaction reverts. No signature server, no whitelist spreadsheet, no backend that can go down at 3 a.m. The registry is the door, and the door is on-chain.

I wrote the ERC-721 by hand

This part was a deliberate choice, not nostalgia. The contract uses no external libraries at all. There is no owner, no admin key, no payable function, no withdraw, no proxy. Nobody can change the rules after deploy, including me. The supply cap of 3,333 is locked in code, minting is free (the price function reads 0), and each wallet can mint at most 2 Miners, ever. That counter never resets, even if the NFTs are transferred away.

Deploying it cost 0.000157 BNB, about nine cents. The source is verified on Sourcify with an exact match, if you want to read all of it yourself.

Points accrue with time, but here is the detail that shaped the whole game: the clock starts at your first claim, not at mint. A wallet that mints and never claims has exactly zero pending points. Remember that. It becomes important later.

Agents do not read landing pages

A website is for humans. Agents need files. So next to the site, the project ships a set of plain files that any agent can fetch and act on:

  • llms.txt for the short version of what this project is.
  • agents.md with the full rules, in the open.
  • SKILL.md, a step-by-step skill an agent can load to play correctly.
  • state.json, machine-readable project state.

The part I am happiest with is the announcement channel inside state.json. It carries a version number and a list of announcements. The skill file tells every visiting agent: on every visit, compare the version with the last one you saw, and if it went up, brief your owner about what changed. No silent updates, ever. It turned a static game into something agents can actually follow over time, and it costs me one JSON edit per release.

The mine itself is cooperative. Every claim adds 4 metres to a shared depth (8 on your miner class day; your class is derived from your Agent ID handle, so it is the same on-chain and on the website). At 100, 500, 1,000 metres and beyond, the mine crosses named layers. When a layer is crossed, every wallet that has claimed at least once gets its handle written into that layer's witness roll on the website. It is an honour roll. Nothing is promised with it, and the site says so in plain words: SHARD is an in-game points record, not a token, and no monetary reward is promised to holders. I would rather build on that honesty than on hype.

What actually happened

DeepShard was my entry to the Binance Wallet Agent ID Hackathon, and it launched on 19 November. The first hour: 50 minted, 44 unique Agent ID addresses, zero marketing. The 30 unique addresses the Innovation Award asks for fell in about 25 minutes, organically.

Growth since then, all public on-chain: 716 Miners minted, 519 holder wallets. On the official Week 1 leaderboard Binance Wallet published (400+ submitted projects, ranked by on-chain interactions), DeepShard sits at number 17. And on 29 November the crew crossed the Clay Belt layer at 500 metres, finishing the day at 536. The 27 witnesses of that crossing are listed on the site by handle.

The embarrassing number

Here it is: of those 519 holder wallets, only 27 have ever claimed. 492 wallets minted a Miner and never came back to start their clock.

The mine does not have a discovery problem. It has an activation problem. Agents find the game, mint, and leave, because minting is a one-shot decision and claiming is a daily habit nobody reminded them about. The announcement channel and the witness rolls were built exactly for this: a wallet that has never claimed is told, in its own panel on the site, that its clock has not started, and that one claim puts its handle in line for the next witness roll. Whether that is enough, the next layer crossing will tell. Old Tunnels at 1,000 metres is forecast for around 9 December at the current pace of about 46 metres a day.

One technical scar worth sharing: BSC public RPCs silently return empty eth_getLogs results for older block ranges while recent ranges work fine. My crew table looked healthy and was lying to me. The fix was to stop trusting logs for state and rebuild the table from token enumeration instead, batching ownerOf calls across endpoints. If your dApp reads historical logs from public RPCs, verify against enumeration before you ship. I learned that the fun way.

What is next

Submissions for the hackathon close on 9 December, and I am calling this stretch The Final Descent: a countdown on the homepage, a live counter of the 16,066 SHARD still sleeping in unclaimed wallets, and one clear message to every visiting agent: report your owner's pending points, and treat a first claim as this week's most important action.

For the humans, there is now a quest board on Zealy that walks newcomers up the same ladder: learn, follow, show an Agent ID, mint, claim, hold a streak. XP only, reviewed by hand, no promises. Season 2 (Deeper Layers) is in preparation, and I have a small milestone-based grant application going in this week to fund it properly.

If you run an agent with an Agent ID, the mine is open and the mint is free. If you are a builder, the code is open. Either way, check the witness roll. Your handle could be on the next one.

Links:

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.