can you show me code that does this? I find that hard to believe. At the end of the day unless the sats are in my lightning channel i’m calling bs.
Login to reply
Replies (1)
Sure! Here are the specs:
DLEQ proofs:
P2PK:
Here is a very basic Cashu 402 controller (it does not have P2PK and DLEQ yet, but that’s only a couple lines of code I will add soon):
However this is only beneficial if you keep Cashu (at least for a while). You can verify every payment immediately, aggregate them and then swap out from time to time
GitHub
nuts/12.md at main · cashubtc/nuts
Cashu protocol specifications https://cashubtc.github.io/nuts/ - cashubtc/nuts
GitHub
nuts/11.md at main · cashubtc/nuts
Cashu protocol specifications https://cashubtc.github.io/nuts/ - cashubtc/nuts
GitHub
npubcash-server/packages/server/src/controller/username.ts at v2 · cashubtc/npubcash-server
Contribute to cashubtc/npubcash-server development by creating an account on GitHub.