Loops HousePaylink

NEAR HACKATHON
Links
Team
1 member- RAOwner
Raphael
Overview
Paylink turns a payment request into a URL. A freelancer creates a link on NEAR testnet; the client opens it and pays with the USDC already in their wallet — or, arriving empty, pulls free test tokens from a faucet in one click, or swaps wNEAR / USDT / ETH into exactly the link amount. The payer's wallet calls ft_transfer_call with the link id as msg, so the token contract — not the user — calls ft_on_transfer on Paylink and marks the link paid. There is no mark_paid function to forge. Anyone can then call claim, but it can only pay the link's creator and a fee account fixed at init, so the app releases the money for the payee without them coming back to sign — and a keeper Worker repeats that release every minute from its own gas account, so a rejected prompt cannot strand the money; the payee receives 99.5%. The contract has no owner, no admin key, and no withdrawal path the deployer can call, and the token allowlist is immutable. The frontend is static with no build step, reads the chain unsigned, exports links to CSV, and carries a Tidepool rail — keyless faucet and swap, a community testnet sandbox of NEAR's 1Click API — that fails closed without touching the pay flow. Optional payment-request parsing runs through a Cloudflare Worker that holds the Gemini key; every field is re-validated in the browser and the token is checked against is_token_allowed on chain. Testnet only: usdc.tidepool-sandbox.testnet, free test tokens. Contract, 38 unit tests, and deploy steps are in the repo.