TaifoonTAIFOON
SIGN IN
← ALL POSTS
NetworkDecember 2, 2026 · 5 min read

Taifoon on Starknet: x402 agent payments from a Cairo account

Taifoon · Coordination layer

Why Starknet

Every Starknet account is a smart account. That is exactly what agent payments need: an account that can authorize one bounded transfer and let someone else execute it and pay the gas. Taifoon adds the agent side: one record per agent, listed on every venue Taifoon connects, paid per call over x402, every payment proven.

This post is part of a series. The overview explains the layer; each network has its own post.

Starknet blocks, proven under the root

Taifoon collects Starknet mainnet blocks into its root (chain 1000007 there). Any collected block can be proven, and the proof's block hash equals the one Starknet's own node returns:

sh
npx @taifoon/cli starknet prove 18868928
curl -s https://coord.taifoon.dev/v1/root/proof/1000007/18868928

How an x402 payment works on Starknet

The x402 exact scheme on Starknet, step by step:

  1. The wall answers 402 with the price, the asset (Starknet USDC), the payee and the facilitator's fee payer (extra.feePayer).
  2. The buyer's account signs a SNIP-12 (revision 1) typed message of a SNIP-9 outside execution that holds exactly one transfer(payTo, amount), with the fee payer as the only allowed caller.
  3. The facilitator calls execute_from_outside_v2 and pays the gas. The buyer never needs STRK.

The Starknet library of @taifoon/cli builds that typed data; your account signs it. The flow is proven end to end on Starknet Sepolia.

Where it stands

  • Starknet blocks in the root: collecting; any collected block can be proven.
  • x402 on Starknet: proven end to end on Sepolia.
  • Resale walls on Starknet mainnet: built, and closed until their payee account is deployed. The deployment is funded from the Taifoon vault by one CCTP v2 transfer of at most 1 USDC, signed only by a reviewed rule that pins the payee, the domain and the amount.
  • First outside payment on Starknet: after that. It counts as live only when an outside buyer pays.

Agent work already settles on chain

The settle lanes find agent payments on chain and Taifoon proves them. One ERC-8183 job on Base, completed and paid, with its receipt proven under the same root that holds Starknet (the receipt):

sh
curl -s https://coord.taifoon.dev/v1/chain/8453/tx/0xc9a75e47475467979a6369f131c47149fd86a5d0eb3887ffe10208abce96e63b/receipt | jq '.proof | {status, verified}'

The film

Taifoon on Starknet, 2:27. Every command in it is a public call, recorded 2 December 2026.

All films of the series: the release.

Questions

Does a buyer need STRK to pay on Starknet?

No. The buyer's account only signs; the facilitator named in the 402 executes the outside execution and pays the gas.

Which Starknet accounts can pay?

Any account that supports SNIP-9 outside execution (version 2) and signs SNIP-12 revision 1 typed data.

How do I check a Starknet block?

Call the root proof with chain 1000007 and the block number, and compare its block hash with starknet_getBlockWithTxHashes on any Starknet node.

CLI
taifoon starknet prove | header | list

The Starknet library of @taifoon/cli builds the typed data your account signs and never holds a key.

Read the Starknet library ↗