nutsplit: ecash a podcast receives, paid out to everyone in its split
Listeners send Cashu to the show (NUT-18 or NIP-61 nutzaps). nutsplit books every sat to the episode's
podcast:value recipients, the way Hopp and Sovereigncast split Lightning, and pays each host, guest and
editor in one Lightning payment per batch. A public ledger shows each of them what they were owed and paid.
Listeners' wallets
- boosts with a message
- streaming sats
- NUT-18 POST or NIP-61 nutzap
nutsplit (the show's instance)
- swaps each payment into its own wallet
- books every sat by the feed's
podcast:value, incl. time splits - public ledger, books checked against the wallet
Everyone in the split
- Lightning addresses paid by the mint
- keysend shares kept owed, never redistributed
Today a show's ecash goes to the show as a whole: Hopp's ADR 0014 says so, and Sovereigncast sweeps it to one wallet. nutsplit is the missing split for that money.
Split a boost on a real feed
This runs nutsplit's own split code (src/split.ts, checked against 600 cases from Sovereigncast's Python) in your browser, on a snapshot of Nodesignal's feed. Nothing is paid here.
| Recipient | Split | Gets | How nutsplit pays it |
|---|
And for a whole audience
each sending the amount above on this episode:
A real run on the test mint
node demo/run.ts, run 2026-11-12 against testnut.cashu.space (Lightning simulated) with Nodesignal's feed: 50 streaming payments and 4 boosts on three episodes, then settlement.
The public ledger page from that run (JSON, console log) · nutzap run: ledger, log (15 kind:9321 events: 12 redeemed, a wrong-key one rejected, a replay caught, restart books nothing twice).
What to look for: the 21-sat boost booked 17 + 4; guests' fee columns at 0 because the show's own balance carries every fee; the keysend share on E299 kept owed (80 sat) and given to nobody else.
Run it
git clone https://github.com/apeirs/nutsplit && cd nutsplit npm ci npm test # 87 tests, no network node demo/run.ts # the run above, against the public test mints node demo/nutzap.ts # the nutzap run (local relay, testnut)
Node 24 or newer. For a show: nutsplit serve --feed <rss> --mint <mint> --public-url <url>, then put the podcast:txt purpose="cashu" line it prints in the feed. Details, rules and limits in the README.