Loops HouseNear Legion - NFT Staking & Market in Telegram

NEAR HACKATHON
Links
Team
1 member- DIOwner
Dimadze
Overview
THE PROBLEM. For most collections the token is static: it can be shown and sold, nothing else. Any membership it implies lives in someone's spreadsheet. Onboarding asks for an extension, a seed phrase and a funded account — where a Telegram-native community loses its members. THE PRODUCT. A Telegram Mini App where the NFT carries its own access rights. Holding it opens a private channel; ownership is checked on-chain twice daily, so selling the token moves the membership to the buyer and locks the seller out. The same token earns while staked for 7, 14 or 30 days and trades on an escrow marketplace, up to 4 NFTs in one transaction and one signature. Rewards leave the pool when a stake is created, so every payout is funded before it is promised; if the pool cannot cover one, nft_on_transfer returns the NFT in the same transaction rather than locking it. get_claimed_stakes reads the history of any token: who held it, what it earned, when. HOW NEAR FITS. NEP-171 and NEP-178 for the collection; nft_transfer_call for atomic escrow; NEP-413 signed messages to prove wallet identity inside Telegram; promise chains with per-item callbacks: a failed transfer refunds in full and restores the listing. NOT A PROTOTYPE. Live on mainnet since June 2026 — 74 completed staking cycles across 23 accounts. Baseline tagged pre-hackathon, diff linked in the README. BUILT IN THE WINDOW. An integration test suite from zero: 18 tests on near-workspaces, one a parity test deploying the previous mainnet bytecode beside the new build. The last open security finding closed — a full stake-map scan in the write path, replaced by counters needing no state migration — deployed to mainnet on 1 Nov. A pause for both contracts that refuses the way in, never out. VERIFIABLE. Seven read-only mainnet calls in the README, no wallet needed. Internal review: 15 findings, all fixed and live. No external audit.