cashubtc / nuts

Cashu protocol specifications https://cashubtc.github.io/nuts/
MIT License
152 stars 52 forks source link

NUT for Discreet Log Contract support #122

Open conduition opened 6 months ago

conduition commented 6 months ago

Today I published a first-draft of an idea for discreet log contract integration for Chaumian Ecash mints.

https://conduition.io/cryptography/ecash-dlc/ [Pull request link]

Before I go to the trouble of writing up a NUT submission, is this even the right place for such an idea? Or would DLCs be outside the scope of Cashu?

Naturally I don't think DLC support should be mandatory for any cashu implementation. But DLCs could be a highly desirable feature for ECash... something which might incentivize non ecash users to take the plunge. DLCs could offer a sort of programmable functionality on top of Ecash, outside of simple unconditional payments, without adding much complexity to the mint itself.

AngusP commented 6 months ago

There are already NUTs for DLEQ Proofs, P2PK and HTLCs, so yeah I think it's nut-worthy and fine to have optional specs