Sluice
Casper Agentic Buildathon 2026 Live on Casper mainnet

Agents pay per second,
settled on-chain.

Sluice is a streaming x402 meter for the agent economy. An agent renting a continuous resource pays only for the seconds it actually consumes, and the stream shuts the instant a tick goes unpaid. No subscriptions. No pre-bought credits. Just a meter.

Not testnet only. The same meter streams real per-second payments on Casper mainnet, against our own mainnet CEP-18 token: 8 settlements across 2 streams, from block 8381075. Run npm run verify:mainnet to check every one of them, no key needed.

The whole x402 wave bills per request. Sluice bills per second.

Continuous resources don't fit a pay-per-call world. They need a meter.

Pre-paid credits / subscriptions
  • Agent over-buys and eats the waste
  • Or runs dry mid-task and stalls
  • Refunds need a trusted middleman
  • No on-chain record of what was used
Sluice: streaming x402
  • Pay for the exact seconds consumed
  • Stop consuming → meter stops, instantly
  • Every second is a real on-chain settlement
  • Casper's facilitator pays the gas

How it works

A pull loop on top of per-request x402. Each tick is one on-chain settlement.

Agent (Casper key)
   │  opens a session, then every tick signs an EIP-712 transfer_with_authorization
   ▼
Sluice meter (Express + @x402/express + @make-software/casper-x402)
   │  bills elapsed seconds × rate · pay the tick → get the next chunk
   ▼
Casper x402 Facilitator  →  CEP-18 transfer on casper:casper-test  (facilitator pays gas)
   ▼
/impact public proof feed  ·  every tick, with a cspr.live explorer link

   Skip a tick → the next chunk never comes. The sluice gate shuts.
/s

Per-second billing

The meter accrues by elapsed time and settles in rapid micro-payments, not a flat per-call fee.

||

Instant cutoff

Payment and access are the same event. The moment a tick is unpaid, the stream halts. No trust required.

tx

Verifiable

Every tick is a real CEP-18 settlement on Casper testnet, linked on a public feed anyone can audit.

Live proof

Real settlements from running agents. Open the full feed →

loading