cryptocoinjs / coininfo

JavaScript component for crypto currency specific information.
116 stars 114 forks source link

Added scripthash2 for S- addresses. #62

Closed dooglio closed 5 years ago

RyanZim commented 5 years ago

@dooglio Can you link to the source for this data?

dooglio commented 5 years ago

@RyanZim here it is:

https://en.bitcoin.it/wiki/List_of_address_prefixes image

Running the S-prefix address you gave me (from Trezor), SMVe1N9ngcKDpon7B5kX8XUS8ut2QteL1i through bs58check.decode(), shows this:

<Buffer 3f 02 33 70 bc 82 4f 03 5d 3a b8 d1 b5 d1 60 41 35 5f 21 a8 92>

And 3f is hex for 63.