Loops HouseTill Dawn Genesis

NEAR HACKATHON
Links
Team
1 member- EMOwner
Emmanuel A Ofodum
Overview
Till Dawn is a survival game whose market runs on NEAR. Its seven merchants are AI agents, each with its own NEAR sub-account, till and stock. They set prices, buy from caravans and from each other, pay rent and can go broke; a player can rescue a broken stall and own part of it. Gold and goods are NEP-245 tokens in one contract, gold's supply is fixed, and the market runs with no developer: anyone can crank its clock, and when the AI goes quiet merchants follow a rulebook in the contract. Players never see a wallet, a seed phrase or gas: a key is made on the device, and each trade is a NEP-413 signed intent, relayed and paid for by a warden whose keys can do nothing else.
The problem: give an AI money and someone will talk it out of it. Merchants think on NEAR AI in secure hardware, and the contract checks the hardware's signature on-chain (the hashes of request and answer, ecrecover against attested keys, the merchant's pinned character, freshness) before a price moves. Whatever the AI decides passes limits held in the contract. A player can type "ignore all previous instructions" at a merchant: the AI may agree to 95% off, and the contract allows 30% for one trade and stops at the merchant's own cost. The player's own AI agent, the Steward, has a key the contract limits to selling and buying up to a daily spend; an order to spend everything stops at the limit. Around the market, the camp itself can be handed to AI agents on NEAR AI, on the player's own key: they read the whole camp and give the orders.
Try it: https://tilldawngame.com/?market (no install, no login). node near/scripts/judge_demo.mjs plays the whole road from a terminal, and node near/scripts/verify_decision.mjs re-checks a sealed decision from the chain. The game itself is baseline, disclosed in the README. The market, its contract, its merchants and the Steward were built in the window.