key0aikey0aiOfficialยท2 Agent Skills Included

key0

Payment-gated API access with on-chain USDC settlement

Adds payment gates to any API so buyers pay in USDC before receiving access credentials or responses. Handles on-chain verification, double-spend prevention, token issuance, and automatic refunds without manual billing work. Runs as embedded middleware or a standalone Docker gateway with discovery files generated automatically.
npx skills add key0ai/key0 --all -g -y
Available:

Explains the payment gateway architecture, state machine, and security invariants so the agent edits payment-critical code safely and always runs the security reviewer after changes.

All Skills in This Repository (2)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install key0?โ–ผ

Run `npx skills add key0ai/key0 --all -g -y` in your terminal to install all skills in this repository globally.

How to charge for API access with crypto?โ–ผ

key0 lets you define paid plans or per-request routes, then verifies USDC payments on Base before issuing a token or returning the response.

Does key0 prevent double-spending of payments?โ–ผ

Yes. It uses atomic state transitions and a seen-transaction store so one on-chain payment can never unlock two resources.

Can I run key0 without changing my app code?โ–ผ

Yes. The standalone Docker mode proxies requests to your existing backend, so you only configure environment variables.

What happens if delivery fails after payment?โ–ผ

key0 detects paid-but-undelivered challenges and can automatically refund the payer on-chain.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’