Loops HouseCloakroom Intents

NEAR HACKATHON
Links
Team
1 member- CHOwner
Chris Gachau
Overview
The problem: to swap ZEC today, the coins first leave the shielded pool for a transparent address, so the amount and timing become public.
Cloakroom Intents swaps shielded ZEC for a token on another chain with no custodian. A maker locks USDC in an escrow contract on NEAR. The user's ZEC goes to a shielded address whose spending key is split between the user and the maker. Claiming the USDC publishes the user's key half, so the maker can take the ZEC; a refund publishes the maker's half, so the user takes the ZEC back. The ZEC never leaves the shielded pool.
How NEAR fits in: the escrow is a Rust contract on NEAR with no access keys. Each swap uses a new ed25519 implicit account that the maker funds with a 0.06 NEAR stipend, so the user sends her own claim with no relayer and no gas payment that links her to the swap. NEAR's fast finality shrinks the protocol's safety windows from hours (on Base) to minutes. The USDC is paid into NEAR Intents under the user's key, and one signature, checked before signing, sends it to a token on one of 30+ other chains through 1Click. 1Click runs only on mainnet and the site is on testnet for now, so today a swap ends with USDC on NEAR testnet.
Status: the native maker and taker pass 25 two-party scenarios on local chains. The website runs the taker in the browser as WebAssembly; six browser scenarios pass on local chains. The website and a maker are hosted on Zcash testnet and NEAR testnet at https://cloakroom.chrismg.dev; 38 swaps have completed there, 37 of them through the website, most in 6 to 9 minutes. Nothing is deployed on mainnet, and the exit with real funds has not run. Cloakroom Intents is my earlier Cloakroom protocol (ZECATHON, Base) rebuilt on NEAR with NEAR Intents as the exit, disclosed as baseline commit 2f8e2f7 (branch pre-hackathon-baseline). The project was named Zecret until 2026-11-14.