Unanswered Questions
109 questions with no upvoted or accepted answers
4
votes
0
answers
305
views
Creating a P2SH-P2WPKH using Bitcoin Functional Test Framework
I'm using the Bitcoin Functional Test framework to understand how SegWit works by analyzing and building a P2SH-P2WPKH transaction.
When I run my code the transaction gets created, but when I inspect ...
4
votes
1
answer
1k
views
Generate addresses from Trezor's xPub using Python
I am trying to generate BIP32 HD addresses from my Trezors xPub key.
I keep getting errors with most of the libs our there. What am I missing?
pywallet:
from pywallet import wallet
xpub = '...
3
votes
1
answer
471
views
Partial private key recovery
I had the pleasure of setting up a Bitcoin wallet using the Blue Wallet app and diligently noted down the 52 characters of my private key on a piece of paper for backup purposes.
Upon revisiting the ...
3
votes
0
answers
219
views
How can inputs be retrieved efficiently when parsing the bitcoin blockchain?
I downloaded the Bitcoin blockchain. I have a full node and I would like to do some parsing. I use RPC to send commands to Bitcoin Core from my Python program. When I get a block it works fine but the ...
3
votes
0
answers
2k
views
How to sign bitcoin raw transactions with Python offline
I have a raw bitcoin transaction created using createrawtransaction
unsigned_tx = "...
2
votes
0
answers
180
views
Bitcoin Core RPC server not working
I have downloaded and installed and got up and running a bitcoin core node, and it is running fine as far as people are connecting to it on port 8333 just fine. However I can't seem to connect to it ...
2
votes
0
answers
110
views
How to get transaction fee info using Python from an Electrum server?
I can get a raw transaction and parse it using electrum and bitcoinlib fairly easily:
import bitcoinlib
from electrum.daemon import Daemon
from electrum.simple_config import SimpleConfig
class ...
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 ...
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 ...
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 ...
2
votes
0
answers
1k
views
Service or application to auto sweep specified BTC private keys?
Is there a service or an application that will auto sweep a bitcoin private key to your own wallet? I want to monitor a few private keys and sweep them once they receive funds in it.
2
votes
0
answers
469
views
How to add blockchain.info API key to pibitcointools
I have a query-intensive app I'm building that keeps timing out with the message:
Traceback (most recent call last):
File "test.py", line 72, in <module>
array = bitcoin.multiaccess (...
1
vote
1
answer
35
views
pywallet needs 'bsddb' package to run, please install it
On a Ubuntu 24.04.1 LTS VM I installed Python 2.7.18 via:
wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz
tar xzf Python-2.7.18.tgz
cd Python-2.7.18/
sudo ./configure --enable-...
1
vote
0
answers
60
views
How can I import a legacy private key without a wallet file?
I have legacy private key. How can I import it on the newest Bitcoin Core?
Please describe the steps I need to follow.
1
vote
0
answers
55
views
python "pbkdf2_hmac" function doesn't return same as Ian Coleman BIP39 tool. Why?
I am trying to go from a BIP39 phrase to Seed to xprv root key. I have the following BIP39 phrase:
"prefer offer puppy imitate pink banana because whale letter thought artwork loud"
which ...