Importing wallet.dat on - Bitcoin Forum Bitcoin wallet.dat export

Содержание статьи

From Bitcoin Wiki


Before reading this page, users should note that messing with ECDSA private keys is very dangerous and can result in losing bitcoins, even long after the import. It is recommended that outside of self-generated vanity addresses, users should never import (or export) private keys.[1][2]


As of August 2012, possibly the easiest way to import a private key is using's My Wallet service. When successully imported through the "Import/Export" screen, the bitcoins assigned to a private key can be immediately sent to any Bitcoin address. It is extremely risky and not recommended to use or any online third-party service to import private keys, because they can steal your BitCoins if they have the keys. It's best to import them using bitcoind as described below.

Using BIPS

As of August 2013, BIPS allows for easy import of private key using Paper Wallet - Import. User can choose to type in the private key manually or scan a QR code containing the private key using the camera. The user must wait 6 confirmations for access to the funds, and system is based on batch importation. It is extremely risky and not recommended to use BIPS or any online third-party service to import private keys, because they can steal your BitCoins if they have the keys. It's best to import them using bitcoind as described below.

Using Mycelium

Steps described are with the following settings:

  • Export mode enabled
  • Aggregated view disabled

Partial spend from cold storage

Use this function if you would like to keep some funds on the paper wallet.

  1. Download Mycelium from the Android Play Store or through iTunes.
  2. Press the menu button and select "Cold Storage"
  3. Scan in private key
  4. Select your destination address
  5. Select the amount
    1. Press the blue currency tag at the top to toggle currency.
  6. Send!

After spending, the private key in memory is destroyed so the paper private key remains somewhat secure. Despite this, best practice is to immediately send the remaining balance to a paper wallet that was generated offline.

Import key from a paper wallet

Use this function if you would like to import a private key so all funds are immediately available for spending.

  1. Download Mycelium from the Android Play Store or through iTunes.
  2. Key Management
  3. Press the blue '+' symbol
  4. Scan in private key

After importing this paper private key, you might consider destroying the original so it cannot be found and your funds stolen. Alternatively, you can keep it safe to be used as an offline backup.

Using bitcoind

If you have Version 7 or later it is now trival. See: How to import private keys v7+

If you are using Cold storage, a Paper wallet or generating vanity addresses you may have a need to import a Private key. Since Bitcoin-QT/bitcoind v0.6.0, you can import private keys using built-in RPC command importprivkey. Before v0.6.0, you needed to rely on third-party wallet.dat manipulation tool such as Pywallet.

This article describes how to import a private key through the RPC API of bitcoind, which is a topic for advanced users.

Note that importing a key to bitcoind and/or Bitcoin-Qt may be dangerous and is not recommended unless you understand the full details of how it works

Start Bitcoin client

Unlike third-party wallet.dat manipulation tools such as Pywallet, you do not have to close the Bitcoin client before proceeding. Instead, you need to start the bitcoind server.

  • Close bitcoin-qt and start bitcoind -daemon in Terminal Emulator. The version of bitcoind MUST be the same as bitcoin-qt!

Bitcoin-QT does not enable its RPC interface by default. To enable it:

  • Close Bitcoin-QT and restart it with bitcoin-qt -server.

Unlock your wallet

If you have an encrypted wallet (recommended), you need to unlock it temporarily before importing private keys. The RPC command for unlocking an encrypted wallet is walletpassphrase . Typing this directly in a bash terminal will leave your wallet passphrase directly in the bash history but there are a couple of techniques you can use to avoid this. Simply add a space before the command:

(space)bitcoind walletpassphrase yourpassphrase 120

Another alternative is to use a bash variable:

read x
(input your passphrase)
bitcoind walletpassphrase "$x" 120 # Do not set the timeout too long or too short.

Import Private key(s)

The last command unlocked your wallet temporarily for 120 seconds, during which time you must import your private keys. Since private keys can be as important as your passphrase, you may want to use the same techniques as above to prevent their being recorded in bash history (bash variable or space before the command):

(space)bitcoind importprivkey "5yourveryveryveryverylongprivatekeystring" "my-new-key" # "my-new-key" is a label for the key/address pair and is optional

The importing process is now started. Bitcoind will rescan the entire block data to ensure this key has not been used before. This process will take from one to two minutes, depending on your CPU performance. DO NOT abort it before finishing!

To avoid rescanning run the following.

(space)bitcoind importprivkey 5yourveryveryveryverylongprivatekeystring" "label-here" rescan=false

If no errors occurs, the import is a success and Bitcoin-QT users will be able to see the new address in the GUI immediately. If you need to import more keys, just repeat the instructions above. There is currently no command to import a batch of private keys so you will need to wait a minute or two for each key to be imported.

Cleaning up

bitcoind walletlock

This will lock your wallet again (so you don't have to wait for timeout)

unset x
unset y

These commands will clear the passphrase and private key from memory if you used the read technique. If you started bitcoind, you will need to stop it before Bitcoin-QT will start again:

bitcoind stop

Deleting Keys

At some point, you may wish to delete private keys from a wallet.dat file but as of version v0.6.0 of Bitcoin-QT/bitcoind, there is no RPC method available for this purpose.


Это интересно:

Bitcoin кошелёк — Bitcoin Wiki

From Bitcoin Wiki

This page contains sample addresses and/or private keys. Do not send bitcoins to or import any sample keys; you will lose your money.

Wallet Import Format (WIF, also known as Wallet Export Format) is a way of encoding a private ECDSA key so as to make it easier to copy.

A testing suite is available for encoding and decoding of WIF at:

Private key to WIF

1 - Take a private key


2 - Add a 0x80 byte in front of it for mainnet addresses or 0xef for testnet addresses. Also add a 0x01 byte at the end if the private key will correspond to a compressed public key


3 - Perform SHA-256 hash on the extended key


4 - Perform SHA-256 hash on result of SHA-256 hash


5 - Take the first 4 bytes of the second SHA-256 hash, this is the checksum


6 - Add the 4 checksum bytes from point 5 at the end of the extended key from point 2


7 - Convert the result from a byte string into a base58 string using Base58Check encoding. This is the Wallet Import Format


WIF to private key

1 - Take a Wallet Import Format string


2 - Convert it to a byte string using Base58Check encoding


3 - Drop the last 4 checksum bytes from the byte string


4 - Drop the first byte (it should be 0x80). If the private key corresponded to a compressed public key, also drop the last byte (it should be 0x01). If it corresponded to a compressed public key, the WIF string will have started with K or L instead of 5 (or c instead of 9 on testnet). This is the private key.


WIF checksum checking

1 - Take the Wallet Import Format string


2 - Convert it to a byte string using Base58Check encoding


3 - Drop the last 4 checksum bytes from the byte string


3 - Perform SHA-256 hash on the shortened string


4 - Perform SHA-256 hash on result of SHA-256 hash


5 - Take the first 4 bytes of the second SHA-256 hash, this is the checksum


6 - Make sure it is the same, as the last 4 bytes from point 2


7 - If they are, and the byte string from point 2 starts with 0x80 (0xef for testnet addresses), then there is no error.

This page is a stub. Help by expanding it.

как майнить биткоин голд на майнергейт.

Litecoin Core Wallet Dat Location -

You may have noticed the Import/Export feature in your Blockchain Wallet before, but didn’t quite know what it is used for. Maybe you clicked it, but didn’t go any further because of the Advanced Security warning message. Don’t worry, the message just gives you a heads up that changes to the Import/Export section could impact your wallet and your bitcoins. It’s okay to proceed, but if you don’t know what you’re doing – you should not make any changes to this section until you fully understand the implications.

We’ll walk you through this section, which should help give you a better understanding of what it’s about and what you can do in this section.

When you land in the import/export section, you will see this page below.

Let’s start off with the first section on the left: Import

In the Import section, the first sub-section option you have is to add a Watch Only address. This means you can add any public bitcoin address in the world here and keep tabs on it. By watching the address, it means you have read-only permissions, and cannot spend bitcoins using this address. You can’t use it; you can only monitor it. It’s a nice feature to monitor an address for a few reasons, but mainly if you have bitcoins in cold storage, you can monitor them without the bitcoins being in a hot wallet.

In the Import section, the second sub-section option is Import Private Key. This section is specifically for bitcoin addresses that you own, and have both the public and private keys to. Maybe you had your bitcoins in an exchange, and want full control over them – this is the place to do it. You can import the private key from an address you own into the Blockchain Wallet. This will allow you to actually send and receive bitcoins to and from this bitcoin address. As part of the Import Private Key process, you have the option to import keys directly, or sweep the keys. “Sweeping” keys simply means you take all bitcoins from this private bitcoin address, and move them into one of our existing bitcoin addresses. This is a safer more preferred method over importing keys to your wallet.

In the Import section, the third sub-section option is Import using paper wallet. Just as it sounds, you can import with a private key but by using a QR code. Instead of typing in your alphanumeric private key, you can scan your QR code instead and import the private key that way.

Import Backup

This section keeps a running list of backups of your Blockchain Wallet. Every time there is a change in your wallet, a new backup is created. It’s good to have your wallet backup from Blockchain automatically, or you can manually backup your wallet yourself – learn how here. With the automatic backups, at any time you can import a previous wallet file. This is one of those sections where if you don’t know what you’re doing – don’t do it. By clicking the “import” action, Blockchain will import the last known wallet file and overwrite what is in your wallet currently.

Import Wallet

Importing your wallet is part of having a manual backup of your wallet which you have created – again if you don’t know how to do this, read here. In this third section, Blockchain accepts wallets in different formats, with AES encrypted wallet backups being the most common and secure for Blockchain users. Just copy and paste your wallet backup data into this section to manually import your wallet backup. This is another section, similar to Import Backup, where if you don’t know what you’re doing – don’t do it. Make sure you have a full understanding of wallet backups before importing one.

Export Encrypted

In this section, you can manually export all of your wallet private keys using Advanced Encryption Standard (AES). This is just another method for Blockchain Wallet users to export their wallet private keys, using AES for more security, so at any time you can import them back to your Blockchain Wallet (or any other wallet for that matter). As we always point out to our users, you control your bitcoins, nobody else. Blockchain is very transparent when it comes to your bitcoins; it’s something you should always be aware of and expect from any bitcoin service.

Export Unencrypted

In this section, it’s just like the Export Encrypted above, except it doesn’t use AES encryption. To repeat – there is no encryption – so the keys are in plain text and less secure when saved. This is fine, but something you should be aware of. You can simply export your wallet private keys in JSON format, in various conversions such as Base58, Bitcoin-QT (Bitcore), Base64, Hex, or with no conversion at all.

Paper Wallet

In the last section of the Import/Export wallet, you can generate a paper wallet on the fly which will include all of your public and private keys, and also include scannable QR codes. You can use this to create cold storage for your bitcoins, and also keep a paper trail in case you lose access to your passcodes to your wallet.

бесплатные биткоины без капчи.

How to Import Bitcoin Core wallet.dat File into MultiBit

Last updated on January 17th, 2018 at 06:12 am

Hi, my question is regarding the moving or importing of the wallet.dat file from a Macbook laptop that barely functions (it’s very old) and Bitcoin QT software that doesn’t open anymore (keeps crashing) to a new Mac computer and new wallet – Electrum. Just to explain it a bit better – I bought some coins back in 2013 and didn’t touch them until I went to check up on them a few weeks ago. Weeks ago I could open the Bitcoin QT and saw that my bitcoins didn’t sync up as they were ‘Unconfirmed’, but didn’t understand much about how to get the private key etc.. Now that I have read up on that, I was going to go into Bitcoin QT and get the key, but this time the software crashed and wouldn’t open again. So then I went to the actual folder where the wallet.dat file is kept and copied it over to a USB stick. On my Mac computer I have downloaded the Electrum wallet (with seed), but I’m kind of stuck as what to do next. I have read many forums and it looks as though I just copy over this file into the Electrum folder and when I run the Electrum, the coins (even if they’re unconfirmed) should show up. However, being super cautious – I’m still unsure how to do it securely. The wallet.dat is non-encrypted. Is it ok to copy this file over to the Electrum folder while I’m online? I have tried it while switching off the internet, but obviously I couldn’t do anything as you need internet to run the software.. My main worry is – am I ok to copy this file onto my computer while I’m online? Should I encrypt it first? If yes, how? How would I encrypt it if my laptop barely functions? If I don’t need to do it, is it just a simple matter of copying the file from my USB to Electrum data folder and bam, I should have my coins? Also, regarding the unconfirmed coins – they should still show up, right? And what do I need to do to confirm them?

Hope I’m making myself clear. If you have any questions, please ask. Thank you so much for any answer.

best sha256 mining pool hashflare.

Bitcoin Prices and Charts - Quandl

Апрель 4, 2013 0

Bitcoin — официальный клиент одноимённой системы электронной пиринговой криптовалюты. Совокупность всех таких клиентов, установленных на компьютерах пользователей сети, является фактически её основой. С помощью клиента Bitcoin можно отправлять, принимать и хранить BTC-монеты в сети Bitcoin.

Клиент Bitcoin обладает высокими показателями безопасности, приватности и стабильности. Он рекомендуется для всех энтузиастов, торговцев, разработчиков, добытчиков сети Bitcoin, а также тех, кто просто хочет помочь развитию проекта.

Основные свойства Bitcoin

  • Приём, отправка, хранение монет сети Bitcoin.
  • Резервное копирование файла кошелька wallet.dat. Экспорт.
  • Шифрование кошельков.
  • Адресная книга.


Во время первого запуска программа Bitcoin должна скачать архив операций сети, что может затянуться на довольно длительный период времени.


Сайт Bitcoin

Скачать Bitcoin

debian jessie bitcoin-qt.

<< Go back to the previous page

Похожие статьи