bech32
bech32 copied to clipboard
QR code comparison
Hi Pieter,
I got asked to add the QR code comparison. I noticed you cleaned your git repo history up.
I couldn't make a pull request because of it. But can you do a git cherry pick? https://github.com/romanornr/bech32/commit/408c7be64a7b3e78ca6855ea12c28deee246c69f
Hmm, would there be a way to generate these on the fly? The size of the QR code will depend on the address type.
Thinking more about it, it's a bit more complicated as you can't just convert a segwit address to an old-style address. I'll add an extra box for encoding, which lets you enter a pubkey or a script, and constructs the P2PKH/P2WPKH or P2SH/P2WSH address for it, as well as the QR code for it.
Oh I see. Drak asked me, but he gave these images. So what you want is generating QR codes and showing that on the demo page ?
@romanornr Right, but I'll do the work of generating addresses first - something the current JS code does not support.
It probably doesn't work this way?
Checking in
Hello me