cryptocoinjs / bs58

Base58 encoding/decoding for Bitcoin
http://cryptocoinjs.com/modules/misc/bs58/
MIT License
216 stars 48 forks source link

Invalid base58 characters #45

Closed dmonza closed 2 years ago

dmonza commented 2 years ago

Hi,

I try it, but some bitcoin core adrresses include "l" and 0, such: tb1q8ecfmp2sa2s7nar3mdn7j7tyhehpu9npjylf5k tb1qjh2gh5k57f4vkx6fuvan5y0stgshpxs2kmaqkv

Will be helpful to add an exception for it...

thanks,

junderw commented 2 years ago

Those are bech32 addresses. Not base58.

There are more than one type of encoding used in addresses.