sajjadhaider.me
GitHub profileDownload resume

NEAR hackathon, 2026

Gatepass

Pay, and get an SSH pass into a machine for exactly the minutes you paid for.

  • 'Rust'
  • 'NEAR'
  • 'Chain Signatures'
  • 'TypeScript'
  • 'OpenSSH'
  • 'Docker'

Source on GitHub

Gatepass page showing a rented machine in use with a countdown, next to a logged-in terminal

The problem

Giving someone access to a server means sharing a key or a password. Keys get copied, never expire and are not tied to payment, and an AI agent cannot sign up for a rental account.

How it works

  1. Each machine trusts one SSH certificate authority key, and no person holds that key.
  2. The renter sends a public key, a number of minutes and the payment to a NEAR smart contract.
  3. The contract builds the SSH certificate itself and asks NEAR Chain Signatures to sign it.
  4. The certificate forces the session to end when the paid time runs out.
  5. It works the same for a person at a terminal and for an AI agent.
An AI agent renting a machine through Gatepass by itself and running a command on it
Terminal

Type help to see what this terminal can do.