Questions tagged [private-key]

Private keys are used for signing transactions and allow the holder of the private key to spend the Bitcoin associated with the address derived from the private key.

Filter by
Sorted by
Tagged with
45 votes
2 answers
71k views

How do I import a private key into Bitcoin-Core?

How do I import a private key into Bitcoin-Qt? bitcoind is nowhere to be found, and pywallet says it requires "bsddb" when I run it, which is also nowhere to be found. I generated some vanity ...
lurf jurv's user avatar
  • 2,714
44 votes
2 answers
85k views

How can I export the private key for an address from the satoshi client?

If I want to transfer an address from the satoshi client into a different client, how can I find its private key to do so?
Chris Moore's user avatar
  • 14.8k
73 votes
4 answers
37k views

What is a compressed Bitcoin key?

The standard Bitcoin client in version 0.6 apparently introduces compressed keys. What are they? Are there any drawbacks to using them? Any incompatibilities with older software? Reductions in ...
Thilo's user avatar
  • 4,759
1 vote
1 answer
1k views

Can I recover my own wallet from the public key? [duplicate]

I made a wallet years back. It has a good amount of Bitcoin then I wiped and sold my laptop. Now somehow I found my wallet address public key. Is it possible to get the private key somehow?
Danish Ali's user avatar
30 votes
5 answers
19k views

How are public & private keys in an address created?

I understand the high level concept I am more interested specific details. How is a private key generated. How exactly is public key generated, how is address generated from public key.
DeathAndTaxes's user avatar
7 votes
2 answers
9k views

How to sweep private extended key from mycellium for bitcoin cash coins?

I have my coins stored in mycellium, but when I try to export my private key I get a private extended key. How can I import this into coinomi android wallet? I see there is a sweep option in conomi, ...
Patoshi パトシ's user avatar
27 votes
2 answers
37k views

What is the wallet "word seed" that is commonly used in popular wallets clients and what does it do?

I've been using a pretty old version of Multibit classic and recently decided to upgrade. I tried out Multibit HD and Electrum and noticed that both have me set up a wallet with a "word seed"...
user avatar
6 votes
3 answers
29k views

I don't know how to export a private key from blockchain.info

I am trying to make a raw transaction which requires a private key but i can't seem to find a way to get it from blockchain.info.
user avatar
-1 votes
1 answer
2k views

Recovering the private key from a blockchain wallet address

One of my friends used my wallet to import a funded blockchain wallet to my wallet id. First this wallet is watch-only and I can't spend the bitcoins inside this wallet because I need the private key. ...
Onams's user avatar
  • 1
46 votes
1 answer
9k views

ELI5: What's the difference between a child-key and a hardened child-key in BIP32

I've read BIP32, and I do understand it more or less. Could someone please explain to me like I'm 5 years old what the difference between a child-key and a hardened child-key is? I'm trying to add ...
Amin Shah Gilani's user avatar
20 votes
1 answer
15k views

What is a private key and a public key?

What exactly is a private key and public key in relation to Bitcoin? What are they, how are they used, and how does one find out what their private and public keys are?
Sam Weinberg's user avatar
17 votes
1 answer
32k views

How can I convert a SHA256 hash into a Bitcoin base58 private key?

How can I take the output of sha256sum sudofox@ubuntu:~$ echo -n 'Hi guys!' | sha256sum 7542fb6685f9fd8f37d56faf62f0bb4563684a51539e4b26f0840db361e0027c - and turn it into a Base58Check encoded ...
Austin Burk's user avatar
  • 1,109
8 votes
3 answers
26k views

Using dumpprivkey to make a paper backup

I'm just getting started with bitcoin and haven't acquired any significant amount yet, but want to feel relatively secure before I do. And at the moment, my fear of losing bitcoins or a device on ...
BlueMonkMN's user avatar
7 votes
3 answers
10k views

How can I export all my private keys using bitcoind?

I know that PyWallet has a -dumpwallet but without using pywallet, how can I export all the addresses and privatekeys with the stock bitcoind? Is there an API command that lists all addresses held by ...
Stephen Gornick's user avatar
1 vote
1 answer
401 views

I have watched addresses in my wallet..how do i use them?

How do I use the watch only addresses that are in my wallet? I can't find the private keys. Is their any way to use them or should I just delete the wallet with the watch addresses in them?
Jimmie wells's user avatar
23 votes
7 answers
32k views

How do I get the public bitcoin address from a given private key in wallet import format offline?

I have made paper wallets. And I continually send what bitcoins I get to them. I'm paranoid that I've been sending bitcoins to the paper bitcoin addresses where somehow at sometime my saved private ...
user299648's user avatar
16 votes
3 answers
9k views

Key derivation in HD wallets using the extended private key vs hardened derivation

I am reading the book Mastering Bitcoin and confused about wallet key derivations in Chapter 4. Keys, Addresses, Wallets. The book first mentions a private child key derivation where the child ...
user1's user avatar
  • 161
12 votes
5 answers
11k views

Recovering bitcoins after the owner's death

My Brother died in April and we believe he had a bitcoin account. Is it possible to find out how to recover/take over his accounts? I know this is a new form of currency but it seems odd there is no ...
caz's user avatar
  • 121
7 votes
3 answers
3k views

Importing private keys creates different address

How does importing private keys work? I have previously imported the private key for a 1Archive... address into Bitcoin Core and noted then it added an address like 1AXbRq... and I didn't follow it ...
Willtech's user avatar
  • 3,269
6 votes
3 answers
1k views

What is the safest physical to store a private key only to be accessed after death?

Assume that my friend would like to encrypt his Bitcoin private key(s) and safely store them in a secret location. This located would only be identified to heirs after death in his will. Should he put ...
Imagin Ation's user avatar
4 votes
2 answers
2k views

How does BIP 39 mnemonic work?

As I already understood the mnemonics are the private key separated in 12 words which joined together in the very same order produces the private key. How are mnemonics generated? Why Ledger ...
Allan Romanato's user avatar
3 votes
2 answers
6k views

How can I recover the missing end of my private key?

I found this paper among my old stuff. What can you do with it? Is there any way to fill in the missing part?
gabalex's user avatar
  • 21
1 vote
2 answers
5k views

How can transactions be verified without the private key?

Trying to get my head around her royal Bitcoin here... I understand that blocks of transactions are broadcast to the network, and that miners verify that the BC is 'spendable' by trawling the ...
shennan's user avatar
  • 115
0 votes
1 answer
1k views

Where do I obtain private keys?

Just received my profits from a "watch only" address, where do I obtain private keys?
Katlego Maphutha's user avatar
0 votes
3 answers
2k views

Theory: brute-force key search

Let’s say I want to generate many private keys so I can generate one private key (and thus a public key) identical to the richest bitcoin address. But I can’t do that because my computer power is not ...
Juan's user avatar
  • 96
0 votes
2 answers
2k views

Unlocking a Private Key from watch status

I received Some mining profits to my Blockchain. However the person who sent them to me send them to me with a private key. They then wanted me to send them money to unlock the private key. Does ...
J posh's user avatar
  • 1
23 votes
2 answers
54k views

How are public and private keys related to the wallet?

I understand that all the Bitcoin protocol is based on an asymmetric cryptography. A user gets 2 keys (public and private). How do these keys connect to the Bitcoins? How are the keys are related ...
Sean Black's user avatar
19 votes
1 answer
2k views

What is the status of hierarchical deterministic wallets (BIP32)

BIP32 specifies hierarchical deterministic wallets, where a master seed fully determines a whole tree of keypairs that can be arbitrarily branched. It also introduces the notions of internal and ...
Noah's user avatar
  • 1,479
18 votes
2 answers
15k views

Does a wallet containing multiple addresses have a single private key?

Title says it all. Would one private key enable you to recover all the addresses in your wallet? Or does a wallet just contain a series of key-pairs?
user avatar
17 votes
2 answers
11k views

Why so many warnings about importing private keys?

Blockchain.info and other products make you read dire (but vague) warnings that "you must be an expert" before you can import private keys. What's that all about?
RentFree's user avatar
  • 2,539
17 votes
2 answers
15k views

Why doc says importing private keys is so dangerous?

There are a lot of applications when someone would like to import a private key. However in wiki documentation they say it is very dangerous: https://en.bitcoin.it/wiki/How_to_import_private_keys ...
Felipe's user avatar
  • 1,738
10 votes
4 answers
23k views

How can I delete an address (private key) in the list of received Bitcoins?

For every transaction I wanted to get, I was creating a new address, but soon I realized that there is just no way to delete all these addresses from the UI. To make it clear, here is a picture: I ...
Salvador Dali's user avatar
6 votes
1 answer
835 views

How many possible addresses per bitcoin private key?

Based on my research every bitcoin private key (compressed or uncompressed) can have 4 different addresses: P2PKH compressed and starts with 1 P2PKH uncompressed and starts with 1 P2SH and starts ...
GMaster's user avatar
  • 187
6 votes
1 answer
1k views

Can we derive parent’s private key using child’s private key?

In the book named Mastering Bitcoin by Andreas, the author described the usage of derived child keys. One thing I noted was that he said(page 108), The derivation function is a one-way function, ...
Gnanesh's user avatar
  • 163
6 votes
3 answers
8k views

Can same private key generate multiple addresses?

Is this possible using some clever bitcoin script? The intention is to get more privacy. I can give different addresses to different people still no one can guess how much I make in total. I can do ...
balki's user avatar
  • 295
6 votes
2 answers
1k views

Bitcoin Blockchain in the Quantum computing era

The design and the evolution of quantum computers has been one of the "hot" topics during the last 20 years. My question is about the possible consequences of the rise of quantum computers (through ...
KonKan's user avatar
  • 193
5 votes
1 answer
4k views

How Do I Fix: "Safe mode: Warning: Displayed transactions may not be correct!"

While trying to retrieve the private key from satoshi bitcoin client i'm getting this error code: Safe mode: Warning: Displayed transactions may not be correct! You may need to upgrade, or other ...
Shon's user avatar
  • 51
5 votes
1 answer
1k views

Hardened Keys vs Normal Keys - A Simpler Explanation

I'm trying to better understand hardened keys and normal keys and how the former protects the rest of and HD wallet. Following on from the answer provided here: ELI5: What's the difference ...
Sach's user avatar
  • 53
4 votes
1 answer
4k views

What can I do with Account Extended Private Key and Account Extended Public Key?

I have been reading about Account Extended Private Key and Account Extended Public Key that derives from the Master Private Key and Master Public Key, but I still have some question about their ...
Carol Ward's user avatar
4 votes
1 answer
3k views

How to derive the private key associated with a Coinbase multi-sig vault address

When I created a multi-sig vault on Coinbase, I obtained: A master public key in BIP32 extended format, of depth 0, parent fingerprint 00000000 and child index 0. A private key in WIF format ("user ...
Erwin Mayer's user avatar
3 votes
1 answer
3k views

Generating private keys in Java

I'm looking for a way to generate private keys in Java. I'd like to make this a standalone program, so I'd rather not use a library like bitcoinj. From my research I've only seen people recommend ...
busterroni'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
2 votes
2 answers
504 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 ...
RocketNuts's user avatar
  • 1,051
2 votes
3 answers
1k views

Is it possible generate three public key( address ) by only one private key?

I hear that each address has one private key. Is it possible generate three public key address by only one private key?
user3473712's user avatar
2 votes
1 answer
373 views

Can't spend Watch-Only coins, have I been scammed?

Inspired by Murch's format of Why is there no such thing as a redirected, forged, or fake transaction? to create one question that is well-worded and accessible through search engines. Recently, I've ...
MCCCS's user avatar
  • 10.2k
2 votes
1 answer
1k views

Need sample compressed and uncompressed Public / Private key pairs for BigInteger

I am testing a different version of BigInteger that has different endian formats and the native implementation likes to add or remove zeros from the final output. Can anyone provide some sample ...
makerofthings7's user avatar
2 votes
1 answer
166 views

What am I doing wrong in calculating child private key in HD wallets and reversing back parent private key?

I'm trying to understand the process of creating the children's private key and, in the case of knowing the children's private key and the left 256-bit hash result, the process of returning the parent'...
dassd's user avatar
  • 1,069
2 votes
2 answers
10k views

How to get the private key in hex from the output of dumpprivkey

I am trying to create raw transactions according to the excellent answer of runeks here: How to redeem a basic Tx? But there he starts with a private key in hex format ...
relG's user avatar
  • 290
2 votes
1 answer
4k views

How to convert a WIF private key to a BIP32 extended private key

I am trying to recover the extended BIP32 master private key from its extended BIP32 public key (which I already know) and a WIF private key (which I obtained by decrypting a BIP38 seed with a ...
Erwin Mayer's user avatar
2 votes
1 answer
646 views

Why is my Bitcoin private key so much shorter than my PGP private key?

My PGP key takes up a huge, multi-line block of text, but my Bitcoin private key is just a small string. Yet both are considered extremely secure. Why is my PGP private key so long?
steevven1's user avatar