What is Nostr?
calle ๐Ÿ‘๏ธโšก๐Ÿ‘๏ธ
npub12rvโ€ฆ85vg
2023-12-04 23:53:52

calle ๐Ÿ‘๏ธโšก๐Ÿ‘๏ธ on Nostr: Imagine we had introduced a super efficient binary format before implementing ...

Imagine we had introduced a super efficient binary format before implementing spending conditions, DLEQ proofs, witnesses, and so on. Premature optimization is dangerous.

However, it's important to realize that the token format is one of the least important things in Cashu. It's at the *very surface* of the protocol.

The only thing it may practically affect at this point are QR codes and that can't be improved by more than around 50% according to our tests (which means now you can put 4 tokens in a QR code instead of 2, yay).

We'll probably use a binary format eventually. Changing it is easy but it would have so little effect but introduce such tight boundary conditions that nobody has worked on it so far. Good suggestions and productive feedback welcome!

I canโ€™t take cashu seriously when their tokens are base64 encoded json blobs
Author Public Key
npub12rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sf485vg