Skip to content
Turnspike

About

Software agents need to pay. Owners need a ceiling.

The problem

API sellers cannot cheaply take per-request payments from software callers, and giving an agent a hot key with a full balance means one bug or prompt injection can drain it. This is the motivating scenario, not a measured market figure.

What Turnspike does

An owner funds a bounded allowance and authorises one agent. The settlement contract enforces per-call and daily limits, an allowlist, single-use request IDs and owner-only withdrawals. A seller adds middleware and gets paid in QUSDC.

What it is not

It does not invent agent spending limits, and it is not x402-compatible. It is unaudited, uses a centralised gateway, and runs on QIE Mainnet with deliberately small amounts.

QIE Hackathon 3.0

Turnspike is a submission to QIE Hackathon 3.0 (organised by QIE Blockchain). It uses QUSDC and the QIE Mainnet (chain 1990). The code is open source under the MIT licence: github.com/ometere123/Turnspike.

Watch the barrier lift on mainnet.

Run the scripted agent against the live gateway, or fund an allowance of your own.