pull down to refresh
284 sats \ 1 reply \ @Scroogey 17 Feb \ parent \ on: Stacker Saloon
Fun nut fact #1
The size of a nut (the length of the cashuB string) is related to the amount it contains, but not in the simplest way ("larger amount means larger size").
The mint offers tokens in pre-defined amounts: 1, 2, 4, 8, 16, 32, 64, 128 sats etc. (powers of two). A nut containing only one such token has minimal size.
To reach other amounts, like 222 in this case, multiple tokens must be combined.
This nut combines six tokens 128+64+16+8+4+2=222 hence its larger size.
So, a 32768 sat nut with a single token gives a short cashuB string, while a 255 sat nut will give a longer cashuB string.
For privacy reasons, the combination can matter.
More details in https://github.com/cashubtc/nuts/blob/main/02.md and
https://github.com/cashubtc/nuts/blob/main/03.md.
Thanks for the nutty details
reply