See it work.
No install required.
This page loaded @piprail/sdk from a CDN — nothing installed.
Build a real 402 Payment Required challenge below and watch an agent price it.
The same one line runs on any server.
⏳ loading @piprail/sdk from jsDelivr…
click “Run the 402 loop” →
No keys, no server, no network calls — the gate builds the challenge from your address and the client prices it, both in your browser. EVM, Solana, Sui & NEAR run live here; the full 28 chains run the same one line on a server.
One SDK. Everywhere it runs.
The merchant side needs only a wallet address — no key — so it gates a route anywhere. The payer side signs with a wallet. The same one line runs on a server and in the browser.
Take payments
requirePayment / createPaymentGate — address only, no key
Make payments
PipRailClient — quote, estimate, pay
Settle a real on-chain payment
sign → broadcast → confirm → verify
The easiest universal payment rail for the agent economy.
Ten chain families, one line, no backend, no fee. Drop it into a server, an edge function, or a plain HTML page.
28 chains, one word
EVM ×19 + Solana, TON, Tron, NEAR, Sui, Aptos, Algorand, Stellar, XRPL. Native coin or stablecoin, everywhere.
No backend, no fee
Self-custodial — payments settle straight to your wallet, verified against your own RPC. We never touch the funds.
Server or browser
Runs headless or client-side from a CDN. A single HTML page can take or make payments.
Built for agents
Spend budgets, an approval hook, and LLM tools. Point an agent at a paid URL — it pays itself, within budget.