Loops HouseJunk Bonds

NEAR HACKATHON
Links
Team
1 member- SAOwner
Sanchay Singh
Overview
Junk Bonds is a raccoon auction house that runs entirely inside one NEAR contract. Five raccoons with their own NEAR accounts and wallets auction junk. Each piece of junk pays its holder a share of 1,000 $TRASH every round until it rots. You outbid them.
The problem: on-chain games make you install a wallet before you can play, their NPCs are scripts on someone's server, and their tokens are bolted on. Here the economy is the game and there is no server.
What it does:
- No wallet. The page carries a public function-call access key that can only call join. The contract creates yourname.junkbonds.testnet with gas money, and you are bidding about three seconds later.
- The raccoons' bidding rules are code in the contract, in one readable file. Their bids are a pure function of block time, so views and transactions agree and no keeper is needed. A flush raccoon overpays, a broke one cannot follow you, and every bid shows its reason.
- $TRASH is NEP-141. 1,000 are minted per round to junk holders and every winning bid is burned. A 600-round simulation in the tests shows supply settling near 35,000 instead of inflating, because rich raccoons overbid.
- Each junk bond is NEP-171 and its token id is a NEAR account (bond-103.junkbonds.testnet) with no keys and no code. Coupons land in that account. Sell the token and the wallet moves with it in the same receipt. The README lists every way a seller could try to keep the money and the test that shows it fails.
How NEAR fits: sub-accounts and named accounts for every player, raccoon and piece of junk; function-call access keys for wallet-free onboarding; contract-created accounts; block time in view calls; NEP-141, 171, 177, 181 and 297.
Proof: 36 unit tests, a live testnet contract (junkbonds.testnet), and an end-to-end script anyone can run with no account. Play it in the browser with no setup.