WebOfTrustInfo / btcr-tx-playground.github.io

https://weboftrustinfo.github.io/btcr-tx-playground.github.io/
MIT License
4 stars 8 forks source link

txid to bech encoding conversion playground #1

Closed kimdhamilton closed 7 years ago

kimdhamilton commented 7 years ago

From @kimdhamilton on July 13, 2017 17:8

Copied from original issue: WebOfTrustInfo/btcr-hackathon#36

kimdhamilton commented 7 years ago

From @ChristopherA on July 13, 2017 18:9

See also #34 — does your tool agree with libbtc's answer?

kimdhamilton commented 7 years ago

available here: https://weboftrustinfo.github.io/btcr-tx-playground.github.io/

kimdhamilton commented 7 years ago

@ChristopherA I'm not sure from that issue what libbtc's answer is, but the items @shannona is posting (which I think are the latest outputs) are definitely different. The result length (non-prefix part) is 2 chars longer. I thought mine handled testnet, but perhaps the way testnet is handled changed.

So yeah, basically not sure anymore what our source of truth is...

kimdhamilton commented 7 years ago

prefix has changed to txtest1:

kimdhamilton commented 7 years ago

Code is updated to match Jonas's latest. Code moved to https://github.com/WebOfTrustInfo/txref-conversion-js

kimdhamilton commented 7 years ago

Moving BTCR-specific items to new issue