All projects

StealthX: private x402 payments for AI agents on Solana

Private machine payments on Solana: a Pinocchio program, MagicBlock rollups and x402.

Team capstone from the Turbin3 accelerated Solana cohort (Q2 2026), built with four other developers.

Problem

AI agents that pay for APIs over x402 settle on a public ledger, so every payer, merchant and amount is visible to anyone. StealthX (Private MPP, the Private Machine Payment Protocol) moves the payment itself through a private rollup and keeps only a settlement record on Solana, which the merchant can disclose to a chosen reader.

How it works

  • One on-chain program written with Pinocchio, holding Merchant, Settlement, AccessGrant and PaymentNonce PDAs.
  • Hand-written MagicBlock CPIs for delegate, commit and undelegate, replacing the Anchor-macro ephemeral-rollups-sdk, which stays as a dev-dependency to cross-check the CPI bytes.
  • A settlement is delegated to MagicBlock's ephemeral rollup, where record_payment runs; the private value transfer happens inside the PER/TEE validator, and commit_settlement anchors the result back on Solana.
  • Each settlement is bound to an x402 PAYMENT-SIGNATURE through a 32-byte payment nonce, which also rejects replays.
  • grant_access creates an AccessGrant PDA, giving one reader scoped, optionally expiring access to a settlement.
  • Off-chain agent and merchant SDKs, plus an x402 facilitator that co-signs as fee payer so agents pay gaslessly.

Results

  • Full lifecycle (init, delegate, grant access, record, commit, undelegate) run on devnet against the deployed program.
  • A private ephemeral-to-ephemeral transfer verified on devnet through the PER/TEE validator.
  • Alongside StealthX in the same cohort, my Pinocchio compute-unit work cut an init instruction from ~19.5k to ~1.8k CU and account checks from ~17.8k to ~1.5k CU.

Stack

RustPinocchioMagicBlockx402TypeScriptLiteSVM

Links

More projects

Pinoc

A CLI for scaffolding, building, and deploying Solana programs written with Pinocchio, with IDL and client generation. Pinocchio is deliberately minimal, with no build orchestration or project conventions, so Pinoc supplies the workflow around it, including a `clean` that preserves the program keypair so you don't lose your program ID the way a plain `cargo clean` does.

RustCLISolanaPinocchioDeveloper Tooling

Full-Time

A trust-minimized settlement rail for parametric sports markets on Solana. Settlement is permissionless and proof-based: anyone can submit a TxODDS Merkle proof and the program recomputes the root on-chain via CPI, so there is no admin, oracle key, or dispute committee. Shipped as an installable SDK (@fulltime/settle), an autonomous keeper, and a Next.js reference dApp.

SolanaRustAnchorTypeScriptNext.jsOraclesMerkle ProofsSDK

Octasol

An open-source trustless bounty platform on Solana, backed by a Superteam grant. Escrow, developer profiles, and GitHub authentication, built with Rust, Anchor, Next.js, and TypeScript.

SolanaRustAnchorNext.jsTypeScriptEscrowGitHub

svm-exploit-gym

A verifiable reinforcement-learning environment where an agent must exploit a deliberately vulnerable Solana program. Its transactions run in LiteSVM, and the reward is 1 only when the exploit actually works. 182 verified tasks across 8 bug classes.

RustLiteSVMPythonGymnasiumPPOSolanaSecurity

Arachnid

An asynchronous web crawler with NLP capabilities, archiving data from Tor and I2P networks to improve availability. Built with Python, HuggingFace Transformers, async programming, and Apache Cassandra.

PythonNLPAsyncApache Cassandra