Any amount meaning any denomination in a single proof??? That’d be very useful

Reply to this note

Please Login to reply.

Discussion

Yes. It's the most exciting thing on that list and a huge thing.

how will that work with the mint's keysets?? very curious about it

Yup, the any-amount ecash will be based on KVAC also used in WabiSabi and Signal! The mint only needs a single private key, and the entire wallet can be stored in just a single nut. All that while also vastly improving privacy (blinded amounts, like confidential transactions).

It's going to be so fucking beautiful 🥹

🥹

It's easily the biggest change in Cashu we ever attempted but it's worth it.

Is the WabiSabi Whitepaper the best Place to learn about KVAC? I found the sand & envelope metaphor pretty entertaining, but I’d like to go a bit more in depth

WabiSabi paper section 6 🤙

Yeah, I got that working a few months ago, but was told it was a bad idea.

What changed?

You got what working? I don't believe that.

Yeah. ‘Working’ might be a generous description, but I implemented several working methods - like keyforamount, swapforamount, mint/bolt11foramount. I stopped when I was told it was a bad idea, but it greatly simplified the proof management and payment.

I hacked it all in nutshell Cashu mint.

Proof of work is in this branch below. Bottom line, I was successful in deriving the public/private key for any arbitrary amount and issuing the promises.

https://github.com/trbouma/cashu/tree/amount_key

Yeah but that's the easy mode with broken privacy.

I was just proving the math worked. Didn’t get as far as working on privacy implications. Could easily be addressed by a wallet by breaking an amount into the sum of two random components, etc. Anyway, very keen to see this idea is still alive.