Had a productive couple of days rewriting the Cashu Spilman Channel code, and the corresponding NUT
The proposed protocol was updated a week ago, and I've updated the code. Main coding challenge was to get the fee-handling exactly right.
Code still kinda messy, but all the functionality is right. And I've been gradually adding more automated tests and tidying it up.
I'll update properly another time, with more links and maybe a proper demo video, but I'm just sharing this because I should post on Nostr more often ๐

GitHub
NUT-XX: Offline Spilman (unidirectional) channel by SatsAndSports ยท Pull Request #296 ยท cashubtc/nuts
Update: 2025-11-17: big rewrite. Less discussion, more details, deterministic outputs
With this NUT, Alice and Bob can - using any mint supporting ...
