Creating BIP32 Wallets with Python-SecP256k1

4 replies 379 views
Posts: 1 · Reputation: 19
#1Nov 24, 2018, 09:21 AM
Hey, can anyone tell me if you can make a BIP32 wallet like m/0/01 using Python-SecP256k1?
5 Reply Quote Share
j0hn.ga5Newbie
Posts: 98 · Reputation: 19
#2Nov 24, 2018, 03:10 PM
Nah, the python-secp256k1 library is just for point math. You’ll also need stuff like HMAC-SHA512, chain codes, and Base58Check. So you can’t do it with just that library.
2 Reply Quote Share
j0hn.ga5Newbie
Posts: 98 · Reputation: 19
#3Nov 24, 2018, 06:44 PM
If you’re gonna try making BIP32, start with the master key and CKDpriv. Be sure to test against the official vectors before you hit mainnet.
6 Reply Quote Share
Posts: 23 · Reputation: 204
#4Nov 24, 2018, 07:04 PM
For basic stuff, you can implement a simple version, you know?
0 Reply Quote Share
Posts: 224 · Reputation: 87
#5Nov 26, 2018, 07:30 PM
The OP asked and poof, gone an hour later. Wasting time here. But I whipped up a basic BIP39 mnemonic generator in Python. Not what they were looking for, but maybe they’re just confused.
1 Reply Quote Share

Related topics