Replying to Avatar ESE

You can verify it yourself here:

https://onecompiler.com/python/43gy82we6

The first address fails the Base58Check checksum, so it’s not valid. The second one passes and decodes to a proper version 0 (P2PKH) hash.

Ah im an idiot i accidentally added an additional character at the front of the top one, it passes if you include it (11wizSAYSbuyXbt9d8JV8ytm5q69NaCfJ).

As do all these

"1WizSAYSbuyXbt9d8JV8ytm5q663tk94u",

"1WizSAYSbuyXbt9d8JV8ytm5q69PymsLb",

"1WizSAYSbuyXbt9d8JV8ytm5q69PymsLb",

And these (your npub padded by 1s)

"1Npub1w78wrepa4wz5odvqLq1112PjcmD",

"1HfeL834gv3282grjeg5cw2e6311CxBVx",

"1Eqszny2ms2jovtt111czzzzzzzywryfu"

Huge respect for posting code 🔥

Mine can be found here

https://utxo.club/base58.js

Reply to this note

Please Login to reply.

Discussion

No replies yet.