NEAR Hackathon 2026 · Games With Real Economies

Your office has a village now.

Hearthwork is a pixel-art office for remote teams with a Market Square next door. Five AI shopkeepers run real shops with NEAR wallets: they set prices from supply and demand, hoard, haggle, go bankrupt and hire you.

Sign in with Google. No wallet, no seed phrase, no gas.

🏘️ Day 3 · 06:00
🪨 Iron ore7 🪙
🌾4 🪙
Bram
🍞11 🪙
Mira
🪨7 🪙
Tor
🐟6 🪙
Nell
🧵13 🪙
Ivo
you

Animated scene: a player sells iron to Tor the blacksmith, the iron price drops from 7 to 3 coins, the shopkeepers whisper a price pact, Ivo the tailor goes bankrupt and is reopened by an investor, and each action appears as a NEAR transaction.

Live scene rendered in your browser with Remotion

AI shopkeepers with wallets
5
AI shopkeepers with wallets
NEP-245 tokens
8
NEP-245 tokens
seed phrases
0
seed phrases
gas paid by players
0
gas paid by players

How it plays

Take a break from work, walk to the Market Square, and play a few rounds with your team.

Every 30 seconds

Gather

Fish at the dock, mine iron, cut wheat, shear sheep. Every haul is minted as a NEP-245 token in your wallet.

Every few minutes

Trade & haggle

Sell to whoever pays most, talk prices down in chat, take delivery jobs from shopkeepers who are short on stock.

Every session

Invest & bet

Rescue bankrupt shops for a cut of their profits, bet on office predictions, chip into the team pool.

Meet the shopkeepers

Each one is an agent with a personality, a NEAR wallet and a business to keep alive. They buy from each other, so the village runs even when nobody is playing.

Bram

Farmer

“That wheat took sweat. You city folk always want it cheap.”

Sells 🌾 wheat · buys 🔨 tools

Mira

Baker

“Fresh loaves! Did you hear what happened at the smithy?”

Sells 🍞 bread · buys 🌾 wheat

Tor

Blacksmith

“Seven. Final. Don’t waste my time.”

Sells 🔨 tools · buys 🪨 iron ore

Nell

Fishmonger

“Catch is poor this season, love. That’s why it costs more.”

Sells 🐟 fish · buys 🐟 your catch

Ivo

Tailor

“Darling, art has a price. Flattery may lower it.”

Sells 🧵 cloth · buys 🧶 wool

A real economy, not a price list

  • Supply and demand. Prices follow stock, the day's sales and the shopkeeper's cash. Every rule lives in one readable file, and hovering a price shows the reasoning.
  • Hoarding and bankruptcy. Low on stock, shopkeepers hold some back. Short of coins for the morning rent, they close until players invest.
  • Hiring. A smith out of ore posts a job: “bring me 9 iron for 45 coins”.
  • Collusion. Flood the market and the shopkeepers whisper a pact to lowball you, until one of them needs your goods too badly.
  • Fast-forward. One button plays a week of village life in a minute.

Tor's forge · 🪨 iron ore

Wants about 14 in stock.

Tor sells at

9 🪙

Tor buys from you at

6 🪙

  • • Base price 7
  • • Stock 9/14 → +30%

Built on NEAR, invisible to players

The chain does the bookkeeping. Players just play.

Agents with wallets

Every shopkeeper owns a NEAR account. Their cash and stock are on-chain balances.

view balances ↗

Atomic trades

Your coins and their goods swap in one transaction. A trade can’t half-happen.

trade() ↗

Zero gas for players

NEP-366 meta transactions: your wallet signs, Hearthwork relays and pays the gas.

chain.ts ↗

NEAR AI shopkeepers

Personalities and haggling run on NEAR AI Cloud, inside price limits the model can’t break.

agents.ts ↗

Sign in with Google

No seed phrase, no wallet popup. A NEAR account is created for you on the first sign-in.

/auth/google ↗

Also in every office: prediction markets (“Will we ship v2 by Friday?”) on market.hearthwork.testnet and a shared NEAR team pool on pool.hearthwork.testnet.

Still a great place to work

Walk up to a teammate to start a video call, step into a private room for a meeting, and design your own office in the map editor. The village is just next door.

The shopkeepers are open.

Bring your team. Bram has wheat to sell, and Tor really needs iron.