SatsAndSports on Nostr: Had a productive couple of days rewriting the Cashu Spilman Channel code, and the ...
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 😀
https://github.com/cashubtc/nuts/pull/296/files
Published at
2025-11-25 20:00:00 UTCEvent JSON
{
"id": "6abeeba1fab18906f81a3ea599f04298848be7d1d0baea1cc9c40e6cdb57ab6c",
"pubkey": "12ee03d11684a125dd87be879c28190415be3f3b1eca6b4ed743bd74ffd880e6",
"created_at": 1764100800,
"kind": 1,
"tags": [
[
"client",
"Yakihonne",
"31990:20986fb83e775d96d188ca5c9df10ce6d613e0eb7e5768a0f0b12b37cdac21b3:1700732875747"
]
],
"content": "Had a productive couple of days rewriting the Cashu Spilman Channel code, and the corresponding NUT\n\nThe proposed protocol was updated a week ago, and I've updated the code. Main coding challenge was to get the fee-handling exactly right.\n\nCode still kinda messy, but all the functionality is right. And I've been gradually adding more automated tests and tidying it up.\n\nI'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 😀\n\nhttps://github.com/cashubtc/nuts/pull/296/files\n\n https://image.nostr.build/96c2880bad947a69ee15dec37f25c4959c2cdf60c0112d0dfa14058473c05a1a.png",
"sig": "59beaf4be1502961b560e1ce0ce2c9a2ea2aa8eea6e9d2b48e1d7084419b5774c09eff376a7d0b5285aa0df31ab996a2cc87f368942483dfe47ad56a1be6487d"
}