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!
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!
quoting note1r8cโฆ8m4eI canโt take cashu seriously when their tokens are base64 encoded json blobs