Skip to main content

Unanswered Questions

159 questions with no upvoted or accepted answers
1 vote
0 answers
169 views

Cannot import python-bitcoinlib into a simple script

Im writing a simple python script to connect to a local bitcoin node and list transactions. I created a virtual environment with: virtualenv bitcoinenv And then activated: source bitcoinenv/bin/...
1 vote
0 answers
64 views

What are valid BIP32 version bytes in descriptors & optional key origin defaults?

BIP49 & BIP84 defined different BIP32 version bytes so that serialized xpubs start with ypub/zpub/upub/vpub. This led to some incompatibility in the past with wallets and libraries that used (or ...
1 vote
1 answer
309 views

How can I tweak a private key in bitcoin core

I'm wondering what the workflow is for building tapscripts. I can generate a new address, but how do I tweak it with the tap script? I've done the bitcoin taproot workshop a couple times now and ...
1 vote
1 answer
98 views

Wrong hashes for blocks when parsing from blk

Hello I'm using a python script to actually retrieve information from a blk file and to read data. import datetime # Read block ! file = open("REDACTED\blocks\\blk00000.dat", 'rb') ...
1 vote
0 answers
46 views

Incorrectly counts the we have added a generator point to itself in a loop (SECP256K1, Python),

I have a script that converts a bitcoin private key into x and y coordinate with parameters of a Secp256k1 curve. Here's the script: a = 0 b = 7 #Order of the finite field prime = 2**256 - 2**32 - 977 ...
1 vote
0 answers
455 views

How to ignore ResourceWarnings during running tests?

I was trying to run python tests in order to test a PR. I used this command to run p2p tests: [amirreza@localhost bitcoin]$ ./test/functional/test_runner.py test/functional/p2p* It produces lots of ...
1 vote
0 answers
98 views

BlockCypher API signature bitcoin transaction Error

I'm trying to make a bitcoin transaction using the BlockCypher API and I'm getting an error when I try to sign the transaction. This function creates an unsigned transaction: def buildTransaction(...
1 vote
1 answer
594 views

Generating HD Wallet Addresses in Java Using Bitcoinj

Is there some method that can be used to get the address, private and public key for any type of supported coin in a HD wallet? I can correctly generate these for Ethereum, which I verified on https://...
1 vote
1 answer
302 views

developing hd wallet using bip32 and bip 39

I'm developing a HD wallet using C#. I want to use this wallet for multiple blockchains like bitcoin, ethereum, dogecoin etc... I've read that I should use bip32 for my wallet. i know what's bip32 but ...
1 vote
0 answers
154 views

Should I use one `hsm_secret` for both the mainnet and the testnet?

When I launch lightningd it generates hsm_secret in ~/.lightning/bitcoin whereas launching lightningd with network=testnet generates hsm_secret in ~/.lightning/testnet. These two files seem to be ...
1 vote
0 answers
131 views

Deriving children of a 2-of-3 multisig address with 3 xpubs as the starting point

I want to derive the children of a HD Multisig address using each of the xpubs following BitGo specs, currently, I have 3 xpubs and can get to the point where I can derive main address very similar to ...
1 vote
0 answers
154 views

Java bip32 library

I'm looking for java library that will cover bip32 address derivation (xpub to P2PKH, P2SH, P2WSH, P2WPKH, P2SH-P2WPKH). There seem to be a lot of libraries covering P2PKH, but not much else (like ...
1 vote
0 answers
259 views

Why bother with 'account' in derivation path?

After lots of wallet testing, I'm thinking that only account level 0 should be used. Especially, when you consider restoring a wallet from the seed phrase. m / purpose' / coin_type' / account' / ...
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 ...
1 vote
0 answers
81 views

Generating HD wallet seed phrase

got a new hardware wallet and thinking of using my own set of bip39 words instead of wallet generated one, combined with a passphrase.

15 30 50 per page
1 2 3
4
5
11