Loops Housesublet

NEAR HACKATHON
Links
Team
1 member- FROwner
Fred
Overview
The problem: many computers sit idle, and their owners could rent them out, but lending a machine to a stranger is hard. Today it means handing over an SSH key that works until someone remembers to revoke it, or installing a marketplace's software and trusting whoever runs it. AI agents make this sharper: an agent can hold USDC, but it cannot open a cloud account, because sign-up needs a card and a phone.
What we built: Sublet rents out any Linux machine by the minute, with nothing installed on it. The owner adds one line to the SSH settings and publishes terms: price, tick length and Unix user. A renter, a person or an AI agent, pays in NEAR, or in USDC on Base straight to the owner. The contract checks the rent, writes an OpenSSH certificate from the owner's terms, and has NEAR's MPC network sign it. Plain ssh works. When the time is up, the open session is closed and the same certificate is refused. The server never talks to a blockchain.
How NEAR fits: Chain Signatures signs an SSH certificate instead of a transaction, which extends it from blockchains to any Linux server. verify_foreign_transaction lets the contract read the Base payment with no bridge or solver. Each machine gets its own MPC-derived key that only this contract can use, and the deployed contract, sublet.testnet, has zero access keys, so no company and no single person can change the rules or issue a key.
Included: a website with no backend where a visitor with no wallet can rent a machine, a CLI, an MCP server so AI agents can rent and use machines themselves, a threat model, 97 contract tests, a one-command judge run of a full lease on stock OpenSSH, and an Attack Lab of 37 attacks against the live contract, all stopped. In a real lease on a stock Debian machine, the key arrived in about ten seconds, the session ended on time, and the key was then refused. Every claim can be re-checked from public chain data.