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.
Discussion
Sure! Here are the specs:
DLEQ proofs: https://github.com/cashubtc/nuts/blob/main/12.md
P2PK: https://github.com/cashubtc/nuts/blob/main/11.md
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): https://github.com/cashubtc/npubcash-server/blob/v2/packages/server/src/controller/username.ts
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
I am respect and salute to people who can create something like this . It took hard work 👏