← All recipes

Nostr Relay Fanout with Congestion Pricing

nostrintermediate

Publish/subscribe event distribution across Nostr relays. Overloaded relays shed subscriptions to relays with spare capacity.

CapacityRegistryBackpressurePoolPricingCurveCompletionTracker

How to deploy

# Install the CLI

npm install -g @backproto/bake

# Fork this recipe

bake fork nostr-relay-fanout

# Simulate with fault injection

bake sim --chaos

# Deploy to Base Sepolia

bake deploy