Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

2 votes
1 answer
430 views

Need Help Deriving Extended Private Key from Bitcoin Root Extended Public Key and Non-Hardened Extended Private Key

I am currently working on a challenge that involves deriving a non-hardened extended private key for a specific search path in Bitcoin. The challenge provides the following information: Bitcoin root ...
Ankit Tiwari's user avatar
0 votes
0 answers
43 views

An efficient algorithm for multi-address transactions in a deterministic wallet

I am developing my Bitcoin wallet (testnet) on Python using the Cryptos library. I started integrating support for deterministic wallets and mnemonic words. Now I have enabled users to generate ...
Xemi's user avatar
  • 1
0 votes
0 answers
117 views

Master Node(BIP32 Root Key) to xpriv and xpub

I struggle to make a python script that can make xpriv and xpub (extended public and private key) from the Master Node (BIP32 Root Key). I've derived the Master Node from the BIP39 seed with ...
Peder Rustad's user avatar
1 vote
1 answer
718 views

Generate Public Keys from Extended Public Key in python

I want to get a normal Public Key from an extended Public Key in Python. Actually I want to get the same result as here in the Extended Public Key Children section. I know I need this structure: ...
Julian's user avatar
  • 13
0 votes
1 answer
622 views

get extended public key from extended private key in python

Can anyone tell me how I can get the extended public key from an extended private key in python. I know that I need to get the public key from the private key and that the public key + chain key = ...
Julian's user avatar
  • 13
1 vote
2 answers
305 views

Can't get the bip32masterkey from mnemonic seed (Python)

I'm trying to understandand implement the functioning of Hierarchical deterministic wallets. But I can't get the bip32masterkey based on this tutorial : https://medium.com/mycrypto/the-journey-from-...
leslie's user avatar
  • 52
1 vote
1 answer
166 views

BIP 32 CKDpriv not working in my python implementation

I have been working on implementing BIP 32 in Python. This is my code for deriving normal (not hardened) child keys as part of an HD_Key class: def CKDpriv(self, index): key = bytes.fromhex(self.c)...
ana408's user avatar
  • 47
0 votes
3 answers
975 views

Lost 3 words out of 12, and not sure of order, mnemonic seed

I lost 3 words out 12 and not sure of the order of the rest besides the first 3, and the last one. I wrote a Python script with mnemonic and the crypto.com wallet library, it works, to my knowledge ...
Mitch's user avatar
  • 1
2 votes
1 answer
232 views

Having trouble creating a Python function that creates non-hardened HD wallet child keys

I am coding my own keys (not for use in production, strictly for learning). I am successfully creating 512 bit seeds from mnemonic phrases, however I am failing at the step of deriving child keys from ...
Tennyx's user avatar
  • 41
4 votes
2 answers
2k views

Derive Segwit Addresses From xPub or zPub using PYTHON

Summary I'm pulling my hair out trying to understand a couple of concepts. I would like to use a Segwit wallet in my Ledger Nano S to derive unhardened(?) child public keys (and thus segwit addresses) ...
mike-a's user avatar
  • 55
0 votes
0 answers
476 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 ...
amint's user avatar
  • 1
1 vote
1 answer
805 views

Python: Why the addresses and keys generated by pywallet and bip32utils using the same 12 mnemonic words don't match?

I tried to generate wallets by using pywallet and bip32utils (Python). But I noted that the addresses/keys of the 2 wallets, namely wallet_pywallet and wallet_bip39 don't match with each other. I ...
H42's user avatar
  • 111
1 vote
1 answer
206 views

Test vector 1 BIP32 in Python

i tried to replicate code in this git https://github.com/tongokongo/bitcoin-basics/blob/master/HD_wallet/bip32.py . I'm not familiar with python but the xpub is correct (this is the Test Vector 1 from ...
MaXbeMan's user avatar
  • 125
3 votes
1 answer
2k views

bip39 checksum python

Is there any Python package which will allow me to verify if the checksum of a bip39 mnemonic is valid? For instance, I have a 24-word bip39 mnemonic, and I might have made a mistake for one of the ...
Sameer L's user avatar
6 votes
3 answers
485 views

Python library for Multisignature HD wallets

Is there is any python library is available that allow creation of Multisignature HD wallets ?
Pankaj Kumar's user avatar

15 30 50 per page