Why Nostr? What is Njump?
2024-08-03 01:34:42

mleku on Nostr: i just actually looked at nip-06 and bip-39 and this shit is not fit for nostr keys ...

i just actually looked at nip-06 and bip-39 and this shit is not fit for nostr keys

bip-39 prescribes an ordered list of 2048 words, and 2048 is 2^11 so each word can represent 11 bits

24x11=264 so 24 words can be a complete nostr secret key of 256 bits plus 8 bits of check just to make sure you don't bugger it up, last word is 3 bits of the key and 8 bits of the check, but whatever, fuck it, not the same as the check in bip-39 however idgaf

i'll adapt this word list and write a little ditty that turns your nsec into 24 words and you will be happy
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku