Questions tagged [wallet-import-format]

Wallet Import Format is how Bitcoin Core represents private keys outside of the client. Example: 5HueCGU8rMjxEXxiPuD5BDku4MkFqeZyd4dZ1jvhTVqvbTLvyTJ

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

Bip32 bitcoin core wallet `hdseed` format from xprv master key

I'm trying to use a mnemonic seed to generate a bitcoin-core wallet. I know core does not support bip39, but it does support bip32 and sethdseed should make it possible to use the seed generated by a ...
0
votes
1answer
22 views

Hierarchical Deterministic (HD) Importing Funds

I'm creating derived addresses from a HD private key. I have all data saved, such as the; seed, HD private key and derived addresses with their private keys, plus wif formats. I'm receiving funds in ...
0
votes
0answers
77 views

Recovering wallet after formatting SSD

I am not exactly sure what I need to do and I do not want to accidentally overwrite my disk. I may have already done so. After searching my web history I have found the BTC address that my BTC is on ...
0
votes
1answer
205 views

Converting WIF as Base58 string to byte array in bash

I want to convert wif as Base58 string to byte array. Private key to WIF printf 800C28FCA386C7A227600B2FE50B7CAE11EC86D3BF1FBE471BE89827E19D72AA1D507A5B8D | xxd -r -p | base58 ...
0
votes
1answer
224 views

recover wallet in electrum from hex mpk

I´m trying to recover a wallet from which the Master Private Key (mpk) in hex format and the number of used addresses is known. Till now I could manage to convert the hex mpk to the wif format and ...
1
vote
1answer
1k views

Private key to WIF compressed: which one is correct?

This is how we can find the WIF from a private key: private_key = '000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f' decoded_private_key = bitcoin.decode_privkey(private_key, 'hex') ...
1
vote
1answer
260 views

Why do we need two different formats of WIF (wallet import format)?

I know that a public key can be compressed. However, a public key and its compressed one have the same private key. Then why do we need two different Wallet import formats for each compressed and ...
3
votes
2answers
2k views

litecoin constants and prefixes

Is there any list of litecoin constants available? Something like Bitcoin list of address prefixes
2
votes
2answers
5k views

Convert WIF to private key

I am aware how to convert the private key into WIF format in python, now I am trying to reverse this process and convert a WIF formatted private key back into a 256-bit private key, following this ...
3
votes
1answer
570 views

API to send bitcoins from paper/cold wallet?

I am making a program which will take a .wif private key, and send all funds from the wallet represented by the key to a certain address. I need this to be fully automated, but I can't seem to find ...
0
votes
1answer
52 views

Why does this code keeping giving me this error? I am just trying to understand the raw bitcoin protocol

import random def privateCeiToWif(Cei_hex) : return utils.base58CheckEncode(0x80, Cei_hex.decode('hex')) def privateCeiTopublicCei(s) : # secp256k1 : Standards for Efficient Cryptography (SEC)(...
2
votes
2answers
133 views

What is the significance of the last 5 digits of Base 58 WIF?

I'm trying to understand the Base 58 WIF number. While messing around with importing on blockchain I noticed that if you change the last five (or so) digits, it doesn't appear to affect which address ...
2
votes
1answer
2k views

Format of private key

On this website, we can see that the the private key 1 is written in this format. 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf I would like to know what is this format.
2
votes
4answers
11k views

Correct way to convert a 256-bit private key to WIF?

On the Bitcoin wiki it has steps to convert a private key to WIF. So I tried following these steps in attempt to get the same result. So I took the private key. ...
2
votes
2answers
178 views

Why are compressed private keys typically longer than their uncompressed counterpart?

From what I understood, compressed private keys are supposed to represent the same secret key, stored more efficiently thus taking up less space. I assume 'more efficiently' has to do with secp256k1 ...
1
vote
1answer
2k views

private key to wif - need help converting to base58encode (step 6 to step 7)

I am trying to learn more about how bitcoin addresses are created. I am following along with the tutorial at https://en.bitcoin.it/wiki/Wallet_import_format I undertsand how they do the first six ...
2
votes
0answers
893 views

php private key to wallet import format (wip)

I have been writing a php file intended to create a bitcoin private key and change it to wallet import format. The issue is when I try a command in a gnome-terminal such as: bitcoin-cli importprivkey ...
4
votes
3answers
6k views

How to import a HD wallet from an extended private key

I'd like to export a derived private key from my Electrum HD wallet, and use it as a HD wallet master key in a Mycelium wallet. I used bx to get the key like this (m/2'/0) (where m is the unencrypted ...
0
votes
1answer
1k views

WIF Format and Storing Private Keys

I'm writing an Android app which will be storing private keys for Bitcoin and a few Altcoins in an SQLite database. To store my private keys, I was initially using the WIF. When I take them out of the ...