Developer Platform

Build private payments into anything.

Drop-in zero-knowledge stealth payments for web apps, mobile apps, AI agents, and on-chain protocols. Pakana exposes a single SDK and an x402-compatible facilitator that turn any HTTP endpoint into a privately monetized resource on Stellar.

SDK: TypeScript / Rust Standard: x402 Settlement: Stellar USDC / LBX Latency: 5s finality

Three integration shapes

Pick the one that matches what you are building. Each compiles down to the same Pakana primitives.

Shape 1

x402 micropayments

Wrap any HTTP endpoint with the Pakana x402 facilitator. Clients (humans or AI agents) pay USDC per request via Stellar stealth payments. The facilitator verifies proof of payment and forwards the request. No accounts, no API keys, no rate limit tables.

Shape 2

Stealth payment SDK

Send and receive private payments inside your app. Recipients receive USDC at a stealth address; senders generate the proof; PakanaTracker verifies it on-chain. The SDK handles key derivation, ClaimableBalance construction, and proof generation.

Shape 3

Satellite Node operator

Run your own Pakana Satellite Node. Submit ZK proofs on behalf of users, earn one third of the LBX fee on every verification you relay. Open-source operator stack on GitHub, mTLS replication from Primary Node, runs on a single VM.

The 60-second integration

A monetized AI agent endpoint, x402-gated, settled in stealth USDC, in five lines of TypeScript.

import { pakanaX402 } from "@pakana/x402-server"; app.post("/api/agent", pakanaX402({ price: "0.05 USDC", facilitator: "https://facilitator.pakana.net" }), async (req, res) => res.json(await runAgent(req.body)) );

That handler now refuses requests without a valid Pakana payment proof, accepts a 5-cent USDC stealth payment per call, and settles to your Stellar account in roughly five seconds. The agent calling it pays automatically through its own Pakana wallet — no human in the loop, no account creation, no PII exchanged in either direction.

What's in the SDK

ModulePurposeStatus
@pakana/stealthStealth address derivation, scanning, spendingAlpha
@pakana/proofsBrowser and Node Groth16 prover (snarkjs/circomlib)Alpha
@pakana/x402-serverExpress/Fastify/Hono middleware for x402 endpointsAlpha
@pakana/x402-clientAuto-paying HTTP client for AI agents and appsAlpha
@pakana/satelliteSatellite Node operator runtime in GoBeta on testnet
pakana-cliWallet, key, proof, and operator management CLI in RustAlpha

Live infrastructure

Status note

The protocol is in active development under the Stellar Community Fund Build program (SCF #21). Mainnet contracts are live and processing real transactions. SDK packages are in private alpha — request early access to receive npm install instructions and a testnet LBX allocation.

Get the SDK

The Pakana developer SDK is in private alpha. Request early access for full documentation, contract addresses, testnet faucet credentials, and direct support.