Loops HouseLucky Packet

NEAR HACKATHON
Links
Team
1 member- SUOwner
Suryashish Kundu
Overview
Lucky Packet: red packets (红包) for crypto group chats, on NEAR.
A sender locks NEAR or USDC in a packet and gets one link to drop in any chat. The first N people who open it tap Grab and get a random share. Claimers need no wallet, pay no gas and never sign anything: they type an existing NEAR account, or pick a name and get a brand-new name.luckypacket.testnet account on the spot. A grab takes about 4-5 s from a phone browser.
How it works: create_packet adds N function-call access keys to the contract's own account, each limited to claim / claim_new_account with a capped gas allowance. The private keys live in the link's #fragment, so our server never sees them. The claimer's browser signs straight to RPC with a link key; the contract finds the packet by signer_account_pk(), deletes the key and pays out. New accounts get a 12-word recovery phrase generated in the browser. Shares use WeChat's "double average" split, seeded with env::random_seed().
Also built: USDC packets via NEP-141 ft_transfer_call, "USDC from any chain" via NEAR Intents 1Click (the deposit is simulated on testnet, since Intents has no testnet), sender wallets via near-connect, reclaim links, auto-refund on expiry, chat link-preview cards and a live stats page. No owner method can move packet funds.
Runs on NEAR testnet (contract luckypacket.testnet). Judges can run the whole lifecycle locally with no keys: npm i && npm run judge (22 checks). Plus 16 Rust and 24 TS tests, and live testnet and browser e2e runs.