Why Nostr? What is Njump?
2023-06-09 12:47:11
in reply to

Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2017-05-06 📝 Original message: Olaoluwa Osuntokun ...

📅 Original date posted:2017-05-06
📝 Original message:
Olaoluwa Osuntokun <laolu32 at gmail.com> writes:
> However, it utilizes an
> encoding whose rationale make sense for the Bitcoin address use-case, but in
> my opinion, doesn't carry over those compelling traits to the LN payreq
> use-case.

I agree, but it's nice for QR codes too, and denser than hex. And now
we're using your key recovery idea, having a checksum is not
*completely* pointless.

I've implemented and pushed fallback addresses in the example
encoder/decoder, and tweaked the format slightly: the first 5-bit value
is the witness version, or 17 for p2pkh, 18 for p2sh. It's now
complete.

In some places the encoding is a little awkward (trying to get on 5 bit
boundaries), ideas welcome.

<Feedback please!
Rusty.
Author Public Key
npub1zw7cc8z78v6s3grujfvcv3ckpvg6kr0w7nz9yzvwyglyg0qu5sjsqhkhpx