Loops Housekeyhole

NEAR HACKATHON
Links
Team
1 member- DEOwner
devmo
Overview
Problem: a trading account is a login. You can't sell it, lend against it or hand it over without handing over the keys, and the old owner can still get back in.
KEYHOLE turns a private trading account into an NFT on NEAR. Each key is a NEP-171 token (contract keyhole-devmo.near, live on mainnet) that controls one confidential vault held by a worker inside an Intel TDX enclave on OutLayer. Whoever holds the NFT controls the account: balances stay sealed in the enclave, swaps run inside the vault through NEAR Intents (1Click), and every request is checked against the current NFT owner on chain.
Sell the key and the whole account moves with it: the vault, its history and its limits. The previous holder is refused on the very next request, and every refusal comes with a TDX attestation anyone can check at getkeyhole.xyz/verify.
The NFT does real work: per-tier spending limits (Bronze $1/trade and $5/day, up to Gold $100/$500), a 5% royalty on resale, and the key can be pledged as collateral. We ran two real loans on NEAR mainnet: one repaid, and one defaulted, where the contract transferred the key, and with it the account, to the lender automatically.
Trust is provable, not promised. The contract is locked: ownership went to a lock account and every access key was deleted. Both accounts return zero keys from view_access_key_list, so nobody, including us, can change the code. 457 contract tests plus 62 sandbox tests, 920 worker tests and 2,308 web tests run in CI, and the README links every claim to a mainnet transaction, attestation or command you can run yourself.
How NEAR fits: NEP-171 NFTs as accounts, OutLayer TEE workers for private execution, NEAR Intents for cross-chain swaps, and on-chain ownership and loan settlement. Live: https://www.getkeyhole.xyz/