coinaddr
coinaddr copied to clipboard
Coinaddr does not recognize bech32 addresses
Coinaddr incorrectly reports bech32 addresses (starting with bc1) as invalid.
I have the same issue.
@zyrikby @MariKiev I'm not sure if this is still an issue for you, but if so, can you help me better understand the problem? Is there a reproducible test case you can give me?
It's been a long time since I originally wrote this, so if you have any insight as to why this may be happening, or a possible fix, I'm all ears. Thx
Hello, I have the same problem. I think that you are using base58 to verify bitcoin addresses. But Bech32 addresses (https://en.bitcoin.it/wiki/Bech32) are not necessary recognized as valid (they can contain characters base58 doesn't support)
Coinaddr is the best library I found, I hope you will be able to fix this
Litecoin also supports bech32 address formats (beginning with ltc1
), and these are also not recognized as valid for the same reason.