Unanswered Questions
86 questions with no upvoted or accepted answers
-1
votes
1
answer
236
views
Is there any web3.py equivalent for Bitcoin?
Is there a good python library to connect to my locally running bitcoin node and query it? Such as view data block by block, txs, network difficulty at the time of each block, and other parameters? ...
0
votes
1
answer
2k
views
Account Extended Public Key from mnemonic
tell me please, how we can receive Account Extended Public Key from mnemonic phrase via PHP or Python? Or possible in internet we have ready console scripts?
I'm going to https://iancoleman.io/bip39/ ...
0
votes
0
answers
196
views
Creating an OP_Return TX with Python bitcoinlib
How can I create an op_return TX with python bitcoinlib?
The transaction should include the OP_RETURN HEX-Data and an address where I send my change money
0
votes
1
answer
650
views
python - No module named 'bitcoin' on Ubuntu using WSL on Windows 10
Which version of python should I use?
When running pip3 install python-bitcoinlib I get 'Requirement already satisfied'.
I run on Ubuntu using WSL in Windows 10.
I have this error:
>>> from ...
0
votes
0
answers
519
views
How do you Derive Addresses from a BIP49 Master Public Key using P2WPKH-P2SH?
I am trying to derive addresses from a master public key (aka extended public key) in python. I don't fully understand the math behind the key derivation, but have been able to decode the master ...
2
votes
0
answers
235
views
What tools can I use to create and replace RBF transactions?
I'd like to create transactions within my python application, that support replace-by-fee RBF (BIP125).
Apparently, if I want to be able to replace my transaction later on, I need to signal that ...
0
votes
0
answers
107
views
What's up with the block size of block# 295182?
I found an anomaly in the block size data: block 295182. This one seems to have a way higher payload. What happened there?
Or is this there something wrong with my parsing? This file block does ...
1
vote
0
answers
92
views
bitcoin-etl: problems with installing
I am trying to install bitcoin-etl: https://github.com/blockchain-etl/bitcoin-etl to analyze bitcoin blockchain.
I have Mac OS and python3, I run this in terminal:
pip install bitcoin-etl
Also tried ...
0
votes
0
answers
596
views
Process for finding nonce
Assume we have a transaction in hex (tx_hex) and we want to find a nonce such that
SHA-256(SHA-256(nonce|| tx_hex)) = new_transaction_id ('||' denotes concatenation)
first bits consist of 32 zeros. ...
2
votes
1
answer
302
views
SPV client TCP connection in python
I am trying to implement an SPV client in python (for my own learning). I want to start by making a simple TCP connection to a full node, but I either cannot get a response to my version message, or ...
0
votes
0
answers
197
views
Parsing transaction hash from rawblock data
I got block raw data next url
https://blockchain.info/rawblock/00000000000000000002447735c7723ee9188322c0938e6587866a4458b9135f?format=hex
Can I find transaction hash in url used python?
0
votes
0
answers
86
views
Can I get all block header data like the SPV node?
It hasn't been long since I studied Blockchain.
I only need header data, not all block data, for study purposes.
As far as I know, the SPV node stores only the block's header information.
Can i get ...
1
vote
0
answers
688
views
Connection refused when using bitcoinrpc on Linux
I am new to python-bitcoinrpc(also new to VM Linux actually) and I want to use the blockchain parser from alecalve to get ordered blocks. I used Windows to download the blockchain data into an ...
0
votes
0
answers
711
views
Issue generating private Key and segwit address with python
I used the following script to generate my private key and the corresponding segwit address.
Then to test it, i sent funds to the address and imported the private key on blockchain wallet;
RESULT: ...
2
votes
0
answers
122
views
How to generate unspendable testnet bitcoin address with python?
I'm trying to generate a testnet address. However, I tried to write this python program (using help of various online code places), and I created this program. The program is designed to take a 20 ...