Coder Social home page Coder Social logo

bitcoin-in-tiny-pieces's People

Contributors

circulosmeos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bitcoin-in-tiny-pieces's Issues

Results are different from blockchain.com

Hello,

I want to convert script pub key into bitcoin address.

I'm using script pub key from this transaction (tx hash) on blockchair.com: a070eda356c87a7af9bff22eab3b3c38460605eb00938c84a86a1d6d3c608078

Link:
https://blockchair.com/bitcoin/transaction/a070eda356c87a7af9bff22eab3b3c38460605eb00938c84a86a1d6d3c608078

It has next script pub key: fb2737b020d6c0555513092f7f004976c4c18c53
According to blockchair.com corresponding address is: 76a914fb2737b020d6c0555513092f7f004976c4c18c5388ac

But when I'm using bitcoin-in-tiny-pieces I have different addresses based on script pub key:

Uncompressed public key:
key_hash = 891b647d941b887ad4061cd22651d4b52682b5c8
checksum = 591f2031292a0e4144cf6c7659d87c158661b19396c890c2602ba87de71a3c7c
key_hash + checksum = 00891b647d941b887ad4061cd22651d4b52682b5c8 591f2031
bitcoin address = 1DVxPYn7t1J1U1MoLM8gCXZ17jCdPGe5je

Compressed public key:
key_hash = c02f664efb9341695f584eaa886ae27e59070c19
checksum = 7544f96a8b280ddc0301213c793831af4c6dd6994d982f3994a845dece56f0d9
key_hash + checksum = 00c02f664efb9341695f584eaa886ae27e59070c19 7544f96a
bitcoin address = 1JXBXDYofUjwV1CWLDMcY8jrJt4n3q8xaV

Hybrid public key:
key_hash = d6095f3e929ce503d6d47cb066d78b2b187e27a5
checksum = d8030cd715ccdbe308b45bbc64460aa0099dec113d96986383c1be12459d7e5e
key_hash + checksum = 00d6095f3e929ce503d6d47cb066d78b2b187e27a5 d8030cd7
bitcoin address = 1LWiqEX1PoyXHc7XMWeE2wyfMsYY8rYhHG

Non of them correspond to the address from blockchair.com. Can you please advice what am I doing wrong and why addresses from bitcoin-in-tiny-pieces are different from blockchair.com?

Private key

Hello sir
I want to convert my txt file full of private keys to addresses and balance check but it is not working. Please help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.