The biggest upgrade to Cashu's cryptography since inception: BLS signatures and v3 keysets!
- BLS blind signatures on BLS12-381, paving the way for federated mints and more advancements
- Nutroot: Ecash secrets become public keys that can carry spending conditions expressed as a Merkle tree, inspired by Bitcoin's Taproot
Huge shoutout to the whole Cashu team, we've been working on this for a long time!
Until now, only the mint could check its own signatures, and wallets needed an extra proof (DLEQ) from the mint to check them.
BLS signatures can be checked by anyone with the mint's public keys. Wallets now verify every proof they receive on their own.
BLS also batches well: many proofs verify in one combined check. And a BLS signing key can be split across several signers.
That paves the way for federated Cashu mints, where no single operator holds the full key, and for more advancements in the future.
Nutroot: every ecash secret is now a public key, and spending a proof means signing with its private key.
Spending conditions like multisig, timelocks and hashlocks are leaves of a Merkle tree, and the tree's root is committed into that public key.
Whoever holds the key can spend with one signature, which looks exactly like spending plain ecash.
A condition is only revealed when it's used, and then only that one leaf. Until then, the mint can't tell locked ecash from plain ecash.
Every input now signs the transaction. A mint, swap or melt becomes one transcript of inputs and outputs, and each input signs it.
A mint can't change amounts, outputs or quotes in a request, or put its inputs into a different one, without breaking those signatures, a requirement for byzantine fault-tolerant federations.
Older keysets keep working under today's rules, and one transaction can mix old and new ecash, so moving funds to v3 is an ordinary swap.
Mints and wallet updates to support BLS and v3 keysets with Nutroot are already implemented and are soon going to be the new default.
Incredibly exciting times!
- BLS blind signatures on BLS12-381, paving the way for federated mints and more advancements
- Nutroot: Ecash secrets become public keys that can carry spending conditions expressed as a Merkle tree, inspired by Bitcoin's Taproot
Huge shoutout to the whole Cashu team, we've been working on this for a long time!
Until now, only the mint could check its own signatures, and wallets needed an extra proof (DLEQ) from the mint to check them.
BLS signatures can be checked by anyone with the mint's public keys. Wallets now verify every proof they receive on their own.
BLS also batches well: many proofs verify in one combined check. And a BLS signing key can be split across several signers.
That paves the way for federated Cashu mints, where no single operator holds the full key, and for more advancements in the future.
Nutroot: every ecash secret is now a public key, and spending a proof means signing with its private key.
Spending conditions like multisig, timelocks and hashlocks are leaves of a Merkle tree, and the tree's root is committed into that public key.
Whoever holds the key can spend with one signature, which looks exactly like spending plain ecash.
A condition is only revealed when it's used, and then only that one leaf. Until then, the mint can't tell locked ecash from plain ecash.
Every input now signs the transaction. A mint, swap or melt becomes one transcript of inputs and outputs, and each input signs it.
A mint can't change amounts, outputs or quotes in a request, or put its inputs into a different one, without breaking those signatures, a requirement for byzantine fault-tolerant federations.
Older keysets keep working under today's rules, and one transaction can mix old and new ecash, so moving funds to v3 is an ordinary swap.
Mints and wallet updates to support BLS and v3 keysets with Nutroot are already implemented and are soon going to be the new default.
Incredibly exciting times!
1315❤️32🔥3🚀2🤙2👍1💜1