Loops HouseRecurra - crypto payments & subscriptions for WooCommerce on NEAR

NEAR HACKATHON
Team
1 member- FAOwner
Farzad Karimnejad
Overview
Problem: crypto has no "pull" payments. Nobody can bill a wallet, so crypto subscriptions today mean sending customers a new invoice every month, and most crypto gateways hold the merchant's money in their own accounts.
What I built: Recurra, a WooCommerce plugin plus a NEAR smart contract.
-
Checkout from any chain. The customer picks a token (e.g. USDC on Base), the plugin gets a quote from NEAR Intents (1Click API, EXACT_OUTPUT) with a one-time deposit address, and the store receives exactly the invoice amount in USDC on its own NEAR account. No gateway account, no custodial balance; the plugin verifies amount, recipient and asset before marking the order paid.
-
On-chain subscriptions. The customer prepays into the Recurra Vault contract (recurra-vault.near) with one wallet signature and agrees to a rule: at most X per period, only to this merchant, cancel anytime with a refund of the rest. charge() is permissionless, but the contract enforces the rule: too early, not enough balance or cancelled = refused. The store's server only holds a function-call key limited to charge(). Every on-chain charge becomes a normal WooCommerce renewal order.
How NEAR fits in: NEAR Intents for cross-chain settlement into USDC on NEAR; a Rust (near-sdk) contract that holds subscription funds and enforces the spending rule; function-call access keys for the charger; NearBlocks for public proof.
Proof: everything runs live on NEAR mainnet with real USDC (a Base to NEAR checkout, then a subscription with two renewals). Transaction links are in the README. The contract has unit and sandbox tests covering 7 invariants and attack cases; there is a Docker setup with a mock mode, and a hosted demo on testnet for judges.
Limitations: hackathon code, not audited; customers need a NEAR account for subscriptions; USD stores only.
Hosted demo: https://recurra.enoor.pp.ua Full video: https://www.youtube.com/watch?v=EGabIc5jHHE