Loops HouseTong

NEAR HACKATHON
Links
Team
1 member- DHOwner
Dhanush Gajengi
Overview
People who already use MetaMask or Phantom must install a new wallet, buy gas and manage a new key before they can try a NEAR app. And when an app gets access to a wallet, the spending limits usually live in that app's code, not anywhere the user can check. Tong gives an existing Ethereum or Solana wallet a named NEAR account. One signature creates an account such as mira.tongid.testnet with zero access keys; only Tong's locked factory contract can act for it. Every later request is signed in the user's own wallet and checked by the contract: the signature (EIP-712 through NEAR's ecrecover host function, or Solana ed25519 through ed25519_verify), a one-use nonce, a deadline of at most 5 minutes, and the account's on-chain policy: an allowlist of apps and methods with a per-call deposit cap and expiry, a per-transfer cap and a daily allowance. A sponsor relayer pays the gas but does no policy pre-check, so an over-limit call is refused on chain, with a receipt. On NEAR testnet the factory tongid.testnet (full-access key deleted) runs wraps on wrap.testnet, a third-party dApp (the NEAR Guestbook) that asks for a grant through the SDK and posts, capped NEAR sends, and a Sepolia transfer signed by NEAR Chain Signatures (v1.signer-prod.testnet) with the named account as requester. Developers get an SDK, a React hook and MCP tools. Limits: testnet only, not audited. The Sepolia transfer is signed but not broadcast, because the derived address holds no Sepolia test ETH (BLOCKED). Wallet approvals in the film come from a scripted test wallet, not the MetaMask or Phantom extensions. 1Click is a mainnet dry quote only. The relayer runs locally; there is no hosted demo.