You are the shopper · 2 min
The offline counter
Buy tea, tip the staff, cut the till’s connection and keep paying.
- 01Claim a test budget
- 02Buy something and tip the staff
- 03Cut the till’s internet and pay again
- 04Collect, in one transaction
Loading…
飛錢 Flying Money · money that flies, since 804
Set money aside for one seller. A phone, an AI agent or a robot pays with signed slips the seller can check on the spot, then collect later. Give a budget, not your wallet.
Once a seller has checked a funded budget online, it can verify its payment slips offline and collect before the budget expires. Nobody who pays needs a crypto wallet.
About 2 minutes each · We supply the test funds · No wallet to connect
Open source · Not yet audited · Live on Arbitrum, Base, Ethereum, Monad and Tempo test networks and Arc and Base mainnet (capped). See deployments
Pays only Tea house till. 5.00 of 5.00 left.
Try it · we supply the test funds
Each demo gives you a part to play, a real payment on a test network, and a result you can inspect. No wallet to connect, nothing to install.
You are the shopper · 2 min
Buy tea, tip the staff, cut the till’s connection and keep paying.
You supervise an agent · 1 min
An AI agent wants to buy from a paid API. You decide what it may spend.
See the payment itself · 1 min
Get a 150-byte signed slip and spend it. It needs no internet to travel.
The demos need a connection to start and sponsor funds to be available; each one checks before it begins.
The same idea behind both demos
The spending key signs payments; it does not get access to the funder’s wallet. Each budget is limited to one seller, one spending key, an amount and an end date.
A payment slip contains a budget reference, a running total and a signature in about 150 bytes. The seller verifies the same proof whether it arrives by QR code, sound, a link or a local connection.
Planned: Bluetooth LE, NFC, MQTT, ROS 2, LoRa · mesh radio.
Funding and initial budget verification need internet. A seller must collect on-chain before expiry. Accepting a previously unseen budget offline carries a separate risk.
Read the offline requirements →Control has clear boundaries
Take it further
Give someone a budget, connect your assistant, spend a budget you received, or set up a shop till. Choose your role for a guided setup.
Add paid requests to an agent with the client SDK, accept payments with seller middleware, or connect an assistant through MCP. Works with x402 too: sellers can list it as a scheme, and agents can pay ordinary x402 sites through a bridge you run.
import { createFlyingMoneyClient, fileStore } from '@flying-money/client'
import { privateKeyToAccount } from 'viem/accounts'
const fm = createFlyingMoneyClient({
chains: ['arbitrum-sepolia', 'base-sepolia', 'ethereum-sepolia', 'tempo-testnet'],
spender: privateKeyToAccount(process.env.AGENT_KEY),
store: fileStore('.flying-money.json'), // crash-safe outbox
certificates: [process.env.AGENT_CERTIFICATES], // the budget your owner funded
maxPricePerRequest: 50_000n, // 0.05 USDC
})
const res = await fm.fetch('https://flying-money-oracle.vercel.app/v1/tea-price?city=Luoyang')import { flyingMoney } from '@flying-money/server/hono'
import { upstashStore } from '@flying-money/server'
app.use('/v1/*', flyingMoney({
accepts: ['arbitrum-sepolia', 'base-sepolia', 'ethereum-sepolia', 'tempo-testnet'],
payee: process.env.PAYEE_ADDRESS,
price: () => 10_000n, // 0.01 USDC per request
store: upstashStore({ url, token }), // durable, shared state
}))
app.get('/v1/tea-price', (c) => c.json({ price: 42 })){
"mcpServers": {
"flying-money": {
"command": "npx",
"args": ["-y", "@flying-money/mcp"],
"env": { "FM_OWNER": "0xYourWallet" }
}
}
}Inspired by the original flying money
Carry the proof. Leave the coins behind.