How many tokens can you store on a ~ 500 bytes card?
Login to reply
Replies (2)
Yes also curious about the overall size needed?
The cards I have can store any low 2^x (64 wasn't a random choice).
If the number of sats was written in binary... And if it only needs one ...1. 1,2,4,8,16,32, etc... It seems to use ~246 bytes.
If you need two binary 1's, such as 3, 5, 6, 9 uses just under 400 bytes.
If it needs 3 binary 1's (7, 21) it blows over the 500 byte limit of those cards at ...526 bytes.
The number 256 is fine at 246 bytes, but 255 (which requires 8 binary 1's) needs 1.257 MB.
The 2-to-the-power-of-trick, breaks down at 512 as that now needs over 500 bytes too.