Loops HouseYoru

NEAR HACKATHON
Team
1 member- WIOwner
Witman
Overview
Yoru (夜) is private claimable escrow on NEAR. Leave NEAR behind a 16-character claim code, and anyone holding the code can claim it to any address with no wallet, no account and no gas.
The problem: AI agents can earn, but to get paid they need an existing account, tokens for gas, and an address the payer has to ask for. People hit the same wall with gifts, tips, bounties and remittances.
How it works: the sender's browser or agent generates an 80-bit code and stretches it with Argon2id into an ed25519 key pair. create_cheque stores only the public key with the deposit. The code holder signs "yoru:claim:v1" + contract + cheque id + receiver, and any relayer submits claim() and pays the gas; the contract checks it with env::ed25519_verify. Because the receiver is inside the signature, a claim copied from the mempool can only pay the account it names. Failed transfers reopen the cheque, and after 7 days anyone can refund it to the sender.
What's in the repo:
- Rust contract (near-sdk 5) with 12 unit tests, live on testnet (yoru-183ae9.testnet, plus a 3-minute demo deployment)
- Agent demo: Agent A pays, Agent B claims to a brand-new implicit account, a relayer pays the gas, an attacker's redirected claim is rejected and its front-run still pays Agent B, and a stranger triggers the refund. Transaction links are in the README.
- A web app: a 3D Japanese tea house built entirely in three.js code. Leave a cheque with Meteor or MyNearWallet, share a claim link or QR code, collect to your wallet, any address (including a 0x MetaMask address) or a new account, look up any cheque, and get notified when yours is collected.
Live on NEAR testnet: https://yoru-cheque.up.railway.app