circulosmeos / bitcoin-in-tiny-pieces Goto Github PK
View Code? Open in Web Editor NEWPython scripts made from scratch to play with Bitcoin addresses
Python scripts made from scratch to play with Bitcoin addresses
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
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.