Loops HouseTreasureHunt

NEAR HACKATHON
Links
Team
1 member- SHOwner
ShiningRay
Overview
The game. Pick a coordinate on a ~111-meter grid, choose a depth (1–999 m), write a riddle. Only keccak256(password) and the riddle go on-chain — the location stays secret until someone digs. Probing a guess is a free read; a correct guess unlocks dig, transferring the entire vault — native tokens, FTs and NFTs — to the digger. First come, first served. Expired treasures are reclaimed by the burier.
The riddle is the game. Every treasure is a public puzzle anchored on-chain; hunters compete on wit, not wallet size. Buries and digs become one-click share cards for X/Facebook/Telegram with blurred coordinates.
One riddle, every chain. keccak256("lat|lng|depth") verifies identically on EVM and NEAR — the same riddle works across all supported networks, each chain keeping its own treasures. No bridges, no cross-chain messaging.
Built natively on NEAR. A ground-up Rust + near-sdk contract (MIT, standalone repo): native NEAR via bury_treasure attached deposit; NEP-141 via the push model (ft_transfer_call carries the riddle in its payload); a fixed ~0.2 NEAR storage deposit refunded in full on dig or reclaim — net cost is just gas; probe stays an on-contract view call, so discovery is free via query RPC; @near/wallet-selector (Meteor, Bitte, Ledger) beside EVM wallets; reveal signatures via signMessage (ed25519, NEP-413). Live on testnet at treasure-vault.testnet, indexed via NearBlocks.
Stack & status. React 19 + Vite + wagmi/viem + Leaflet; bilingual UI (EN/中文); mobile-first. Live at https://treasure.sparklerlabs.com — chain picker → NEAR testnet, faucet tokens, play. EVM: BSC, Arbitrum One, OP Mainnet, Robinhood Chain, Sepolia. Tests: 22 EVM cases; NEAR contract 10 unit + 4 sandbox integration, all green.
What's next. Commit-reveal digging, NEP-171 NFT attachments, precision-based difficulty tiers, encrypted hints, leaderboard.