Loops HouseMagen

NEAR HACKATHON
Links
Team
1 member- NIOwner
Nivesh Gajengi
Overview
Bitcoin, Ethereum, Solana and NEAR accounts are all protected by ECDSA or EdDSA keys. A large quantum computer can recover a private key from its public key, and every account that has ever signed has already published its public key, so it can be collected now and cracked later. Magen is a multichain wallet (iPhone app, Chrome extension, web) that adds a quantum-safe second lock to the NEAR account you already have. One NEAR transaction installs the Magen wallet contract on the user's own account and demotes the old key to a function-call key that can only call execute. From then on every action needs two signatures, ed25519 and ML-DSA-65 (NIST FIPS 204), which the contract checks with env::ed25519_verify and env::ml_dsa_verify before it sends NEAR, swaps on Ref, bridges through Omni, or asks NEAR Chain Signatures (v1.signer-prod.testnet) to sign for another chain. In the film, recorded live on NEAR testnet from the iPhone app: a wallet is created, NEAR is sent, NEAR is swapped for USDT on Ref, NEAR is bridged to Base Sepolia and Solana devnet (the bridge list is read live from Omni), ETH is sent on Ethereum Sepolia with a signature NEAR's MPC produced only after both locks passed, the same request without the quantum signature is refused on chain, guardians (2-of-3 ML-DSA-65) are set, and the Q-Day switch makes ML-DSA-65 a native NEAR access key (NEP-645). Judges can re-check 17 on-chain proofs with one command: node scripts/judge-verify.mjs (see JUDGES.md). Limits: testnet only, not audited; both keys live on one device; NEAR's MPC network, other chains' own signatures and bridge relayers stay classical; NEAR Intents is quote-only (no testnet); bridge-in from EVM chains is not built yet.