Skip to main content

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
0 answers
39 views

17 characters missing from the end of WIF(u)

I'm missing 17 characters from the end of my uncompressed WIF. Is there any hope of bruteforcing my private key? perhaps within one or two months?
kasra's user avatar
  • 101
0 votes
0 answers
20 views

Bitcoin message signing and other functions coded in C (not C++). Is there a good library that takes care of it all?

After searching for libraries that could do this, and/or code that could do this, all around the internet, and also AI code assistants failing me, I have managed to write C code (not C++, simple C) ...
capodieci's user avatar
-1 votes
1 answer
31 views

What determines the validity of the Private Key in WIF format?

I understand the sha256 64 string hexadecimal "manually" can be altered, but in case of WIF Private Key the generate one must have very specific strings, and it is really difficult to alter ...
Dan Gonzalez's user avatar
4 votes
1 answer
93 views

Why checksum the privkey in WIF?

Why does the WIF conversion process mandate the double-hash-and-append on the 80+privkey / 80+privkey+01 string, given that nobody is questioning the correctness of that privkey number?
Lilacrail's user avatar
  • 141
0 votes
1 answer
76 views

Bit coin core Settings/Receiving addresses

Under these settings in bitcoin core. does imported addresses (watch-only) appear under the settings as an official receiving address or it appears there because imported a wallet to watch.
Zeata Hazuki's user avatar
1 vote
2 answers
351 views

Import WIF key for P2PKH into Bitcoin Core descriptor wallet

Can someone create a step by step, how to import a legacy P2PKH WIF key on testnet (let's say cSTHGbKgKLCGDRRn5AgtS7L4KHkqmdBau4nsEw8ckAzXV784bgeR) into Bitcoin Core 25.1 descriptor wallet using the ...
Michel van Kessel's user avatar
1 vote
1 answer
148 views

How to use BlockCypher's test network with BitcoinJS-lib?

Trying to make a PSBT via BitcoinJS-lib. I'm using BlockCypher's internal testnet (bcy/test) because I have no choice: literally every other testnet faucet I tested was broken. Using BlockCypher's API ...
1owk3y's user avatar
  • 115
0 votes
0 answers
99 views

How to get WIF and BIP84-address from SEED of 256 bits? [duplicate]

How to get WIF and BIP84-address from SEED of 256 bits? I generate 256 bits. It can be used for generating SEED (24 words): get SHA256, add first byte and cut into words by 11 bits. How to get WIF and ...
Bitcoin Monerov's user avatar
0 votes
1 answer
74 views

Which cryptocurrencies use the WIF format? [closed]

I know bitcoin uses Wallet Import Format. Do other crypto besides Bitcoin use WIF as a standard private key format? Also, is the bitcoin private-to-public algorithm used by other crypto as a pretty ...
Ed-K's user avatar
  • 1
0 votes
2 answers
204 views

Import old paper backup (WIF private key) into modern Bitcoin-QT

When trying to import a WIF private key into Bitcoin-QT i get this error: Only legacy wallets are supported by this command (code -4) How can one import a private key on a non-legacy wallet?
Ken's user avatar
  • 1
2 votes
1 answer
562 views

Decoding a base64 wallet from 2014

I have a Bitcoin wallet file (not called wallet.dat). That has a string that looks like this: FuXjd1EjroiAURK ... 5zYDsaaP/1FizzJo0IrkwEe6bmN7av0ww== I omitted the middle part (...), it is 728 ...
Norm's user avatar
  • 21
0 votes
1 answer
406 views

Converting compressed WIF to uncompressed WIF so it works with bitcoinaddress Python library

I'm trying to convert a compressed WIF generated by bitcoinaddress python Library but I couldn't find a function to do the task so I collected one. I would like someone to review my code and maybe ...
uak's user avatar
  • 1
1 vote
2 answers
206 views

Bitcoin keys explained?

I found a diagram, which explains in an excellent way how to convert a public key to a P2PKH address here(1). Also, I found a good map of types of addresses/keys here(2) and a list of all possible ...
Putnik's user avatar
  • 63
0 votes
1 answer
154 views

HD Wallet convert WIF from list to Public Address

I'm trying to convert a txt of WIF to Public Address but only convert the last line, if someone knows another way to do, i really appreciate from hdwallet import HDWallet from hdwallet.symbols import ...
Dan Gonzalez's user avatar
1 vote
1 answer
203 views

bitcoin-cli WIF from xpriv, descriptor outputs clarity

Questions Is it possible for the bitcoin-cli command to extract WIFs from a ranged descriptor with a derivation path? If a descriptor is ranged it must have a xpriv key? If a descriptor has a xpriv ...
Michael Tidwell's user avatar
0 votes
2 answers
2k views

How to decrypt an encrypted private key

"addr": "193BiCSPG1fJzU4JSLhi4tvXUQ6Qr6kLiq", "compressed": false, "encrypted_privkey": "...
BUTCHER's user avatar
0 votes
0 answers
39 views

What does it mean when R, S values begin with zeroes?

I was hired to fix some typos in a WIF but I went into analyzing transactions instead then I found 3 R values that begin like this: 008505 008391 00a542 Then 2 S values begin like this: S: 00db19 S: ...
terry franklin's user avatar
0 votes
1 answer
236 views

how does the blockchain addresses relate to the blockchain WIF?

I'm using block.io and experimenting with a testnet accounts given to me by the site. I can create addresses on the website and have thus far created 5 in total. However, I only have one WIF, also ...
zcaudate's user avatar
  • 113
0 votes
1 answer
176 views

Wallet Import Format - Guessing missing characters

Is it possible to guess missing characters of a wif? Let's say there are 62 characters (lowercase + uppercase + digits) and the last 10 characters are missing. Is it possible to guess the WIF with ...
goge's user avatar
  • 1
1 vote
2 answers
4k views

Get Wallet balance from SeedPhrases

does anyone know how to get a Crypto wallet balance wit just SeedPhrase without having to log in to the account.
Timothin's user avatar
1 vote
2 answers
1k views

What are the formats of a private key?

I copied my private key to a file and I can't remember what the string begins with. Can you help me by giving me the different types of private key: number of characters and and with which characters ...
Pierre jouglard's user avatar
1 vote
2 answers
633 views

Storing entire seed from bip39 mnemonic using WIF

I'm using the bitcoinjs collection of libraries, specifically https://github.com/bitcoinjs/wif, https://github.com/bitcoinjs/bip32 and https://github.com/bitcoinjs/bip39 with nodejs. I have a mnemonic ...
Infinite Recursion's user avatar
2 votes
2 answers
2k views

how to convert WIF key return to HEX format

any one knows how to convert WIF key return to hex format please also let me know if the private key is out side range of ecc then how to import it to some wallet ?
Muhammad Adnan Alam's user avatar
4 votes
2 answers
318 views

Why does a WIF include the network?

When creating a WIF from a private key, you have to insert a special byte at the beginning of the hex string, before starting hashing and adding the checksum: 0x80 for the MainNet or 0xef for the ...
HansHeinz's user avatar
0 votes
1 answer
210 views

Retrieving a WIF bits private key

Suppose I have a Wif private key from Electrum 4.0.9: L2pt3eVopnxfBBvMwrJV2saZeAyQfF77UQSH5WGj5q9LBS6WWBmN ( this one or the other generated from the seed is non used of course ) with a corresponding ...
Saxtheowl's user avatar
  • 2,810
0 votes
0 answers
42 views

I can't remember one of the words in my 24-word mnemonic phrase [duplicate]

I wanted to import my mnemonic phrase to my new phone but I can't remember one of the words being asked that I wrote down. Is there any way to get that one? I remember all the other words.
Elisha's user avatar
  • 1
1 vote
1 answer
1k views

How can I convert my private key from bitaddress.org to WIF without putting the key into a website or a programme?

Rule number 1 says: don't put your private key into any website or programme, unless you're performing a transfer. This way you won't be robbed. Then, I want to "sweep" my money off a paper ...
EmmmSorryIDidntUnderstand's user avatar
0 votes
1 answer
11k views

What is the math behind a private key BASE58 (P2PKH)

Using this link I can understand something about a private key BASE58 (P2PKH): "such encodings will always yield a 51-character string that starts with '5', or more specifically, either '5H', '5J'...
Luca Blight's user avatar
4 votes
2 answers
8k views

Private key to WIF process

I have a private key for a storage bitcoin wallet (there's not much in there I'm just testing methods) but it is in private key form and to import it to my main wallet I need to convert it into WIF. ...
Piestar's user avatar
  • 41
4 votes
1 answer
2k views

Why bitcoin private key WIF format always be started in K or L?

According to https://en.bitcoin.it/wiki/Wallet_import_format, the bitcoin private wif format key is create by below step. And it says that the compressed wif key always start with 'K' or 'L', this ...
kinjia's user avatar
  • 81
0 votes
1 answer
405 views

I need a few lines of python to make WIF addresses

I have code which generates WIF keys from hex keys. It just need a few more lines to generate WIF addresses. ------------------------ import binascii, hashlib, base58, sys def convert(z): ...
user104853's user avatar
0 votes
1 answer
2k views

Priv Key with 58 characters to WIF

I have an old paper wallet with Private Keys of 58 characters (all starting with a 6). These can be imported e.g. on blockchain.com, but since I still have BSV on this key, I have to import/sweep it ...
Umumba's user avatar
  • 1
0 votes
2 answers
660 views

When generate WIF private key , base58check('80'.decode('hex')) not prefix as '5'

i try to generate WIF private key with python. import base58 import hashlib def b58(hex): return base58.b58encode(hex) def sha256(hex): return hashlib.sha256(hex).digest() def main(): ...
LeePanda's user avatar
1 vote
3 answers
2k views

Convert EC PRIVATE KEY from .pem into WIF

I have a openssl generated private key in the following form: $ cat priv.pem -----BEGIN EC PARAMETERS----- BgUrgQQACg== -----END EC PARAMETERS----- -----BEGIN EC PRIVATE KEY----- ...
Heiner's user avatar
  • 11
1 vote
1 answer
2k 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 ...
eloyesp's user avatar
  • 202
0 votes
1 answer
63 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 ...
Luka's user avatar
  • 117
1 vote
2 answers
2k 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 ...
monkeyUser's user avatar
3 votes
2 answers
7k views

What is the private key format?

I wasn't aware of a private key format, however numerous stackoverflow posts hint towards a formatting of some kind Format of private key Which private key format is this? What encoding or format ...
arshbot's user avatar
  • 1,788
0 votes
1 answer
769 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 ...
Michael's user avatar
  • 135
1 vote
1 answer
2k views

Converting from Private Key to WIF, what am i missing?

They say a image speaks louder then 1000 words so: As you can see from the image above, this should work ? What am i missing here? This is my encode function, http://cryptocoinjs.com/modules/...
scott's user avatar
  • 121
2 votes
1 answer
6k 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') ...
Basj's user avatar
  • 354
3 votes
1 answer
435 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 ...
Константин Ван's user avatar
1 vote
1 answer
2k views

Java: way to convert a 256-bit private key to WIF?

I have a question concerning Java and sha-256. I try to do these steps discribed here to create a WIF key: https://en.bitcoin.it/wiki/Wallet_import_format step: String string = "...
A.c's user avatar
  • 145
6 votes
2 answers
8k views

litecoin constants and prefixes

Is there any list of litecoin constants available? Something like Bitcoin list of address prefixes
Oskyk's user avatar
  • 222
5 votes
4 answers
16k 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 ...
Fabulous Job's user avatar
3 votes
1 answer
816 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 ...
markasoftware's user avatar
0 votes
1 answer
82 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)(...
iivri  andre's user avatar
2 votes
2 answers
355 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 ...
confused_wallet's user avatar
2 votes
1 answer
3k 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.
John Smith's user avatar
3 votes
6 answers
20k 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. ...
Nick's user avatar
  • 33