Composable pipelines for backpressure economics
Browse recipes. Fork them. Simulate backpressure routing in your browser. Deploy to Base with one CLI command.
Recipes
View all →Decentralized Log Router
infrastructureLog ingestion where collector nodes declare capacity. Overwhelmed nodes reroute streams to nodes with spare capacity. Streaming payments compensate operators.
LLM Ensemble (capacity-weighted)
aiRoute completions across multiple model runners; weights follow spare capacity and price.
Nostr Relay Fanout with Congestion Pricing
nostrPublish/subscribe event distribution across Nostr relays. Overloaded relays shed subscriptions to relays with spare capacity.
Open Source Revenue Splitter
generalStream incoming payments to contributors based on declared availability. Away maintainers auto-reroute their share to active contributors.
Sport Sponsorship Streamer
generalFan and brand micropayments stream to athletes. Overfunded recipients auto-reroute new sponsorships to underfunded participants.
Atomic patterns
View all →CapacityRegistry attestation
CapacityRegistryEIP-712 signing flow for declaring spare capacity. Covers the typed data structure, signing code, and on-chain registration call.
beginnerCompletionTracker SLO verification
CompletionTrackerDefine SLOs (latency, completion rate), track completions, and trigger penalties on violation. Verification flow end-to-end.
advancedOffchainAggregator telemetry loop
OffchainAggregatorCollect runtime metrics off-chain, aggregate them, and push updated capacity attestations on-chain. Aggregation logic and attestation refresh cycle.
advancedPricingCurve tuning
PricingCurveInteractive visualization of pricing curve parameters. Adjust base price, k, and alpha to see the resulting price curve as utilization goes from 0 to 100%.
intermediateStakeManager bond/slash lifecycle
StakeManagerFull lifecycle: bonding tokens, operating, getting slashed (3x penalty), and withdrawing. Contract calls and state transitions.
intermediateSuperfluid GDA streaming
EscrowBufferInitialize a streaming payment via Superfluid General Distribution Agreement. Setup, flow rate calculation, and pool connection.
intermediate