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.