恢复钱包#

加密数字货币的老用户有时会在U盘或云存储平台上找到遗忘的旧钱包文件。其他用户可能备份了钱包,但却忘记了用于创建备份的软件或者密码。还有一些用户还在使用因网络已升级而失效的Dash Core钱包。本文档致力于帮助上述用户恢复钱包以便重新获得个人资金的访问权限。

确定备份的格式#

用户首先要做的就是确定备份的格式。在大多数情况下,备份的格式可以是以wallet.dat或以其他词语命名的文件。在某些情况下,用户可能直接存储了达世币地址的私钥。以下列表按成功概率从高到低的顺序显示了恢复钱包的方法。

  • 备份文件存储在失效了的旧版Dash Core钱包中

    • 用户可以使用Dash Core的指示来恢复钱包

  • 以文件形式完成的备份

    • 如果文件名与wallet.dat相似,请用户使用Dash Core来恢复钱包

    • 如果文件名与dash-wallet-backup相似或包含’mobile’一词,用户可以借助安卓达世币钱包来恢复钱包。

  • 以一组短语完成的备份

    • 如果短语长达12个字节,用户可以借助适用于安卓iOS以及达世币轻钱包来恢复钱包。具体选择取决于用户用来创建备份的内容。

    • 如果短语长达13个字节,用户可以借助达世币轻钱包来恢复钱包

    • 如果短语长达12、18、24或25个字节,用户可以借助此前用于创建恢复短语的硬件钱包来恢复钱包

  • 备份是随机字符串或二维码

    • 如果短语含有34个字符且以X开头,那么这是公共地址。这意味着用户只有借助私钥才能恢复对个人资金的访问权限。

  • 如果短语含有51个字符且以7开头,那么这是WIF的私钥,用户可以使用Dash Core钱包导入。

  • 如果短语含有58个字符且以6P开头,那么这是BIP38 加密私钥,用户可以通过纸钱包解码并使用Dash Core钱包导入。

确定备份的格式后,请点击链接查看相应格式的备份的钱包恢复指南。

文件备份#

Dash Core#

One of the most common wallet backup formats is a wallet.dat file from Dash Core wallet. Before you begin, make absolutely sure that you have a copy of this file stored somewhere safe in case the restore process accidentally corrupts your wallet file! In most cases, wallet.dat backups will also be protected by a password, which you will need to know to regain access to your Dash funds. If you already have Dash Core installed, first ensure it has been updated to the latest version by clicking Help > About Dash Core. Compare this with the latest available version of Dash Core on the website as follows:

../../../_images/recovery-dashcore-version.png
../../../_images/recovery-website-version.png

将已安装的Dash Core钱包版本与网站上提供的最新版本进行比较#

根据安装说明将Dash Core钱包更新到最新版本。如果用户只有一个钱包文件但没有安装Dash Core钱包,那么用户可以根据安装说明进行安装,并在启动一次后创建DashCore文件夹。在这之后,用户需要关闭Dash Core钱包,将要还原的wallet.dat文件复制到下文指定位置的DashCore文件夹,并替换或重命名现有的文件。

平台

数据文件夹路径

如何操作

Linux

~/

访问主文件夹,按Ctrl+H快捷键以显示隐藏文件,然后打开 .dashcore 文件。

macOS

~/Library/Application Support/

Press Shift + Command + G, type ~/Library/Application Support, then open DashCore

Windows

%APPDATA%

Windows Key + R ,输入 %APPDATA% ,然后打开 DashCore 文件。

如果用户的Dash Core钱包版本早于0.12.1.x版本,则用户需要将数据文件夹的名称``Dash``改为``DashCore``。

如需修复已损坏的安装,用户需访问DashCore文件夹,删除所有的 .log 文件和除 wallet.dat 之外其它 .dat 文件。用户可以安全地删除下列文件:

  • banlist.dat

  • budget.dat

  • db.log

  • debug.log

  • fee_estimates.dat

  • governance.dat

  • mncache.dat

  • mnpayments.dat

  • netfulfilled.dat

  • peers.dat

保留并确保``.conf``文件和文件夹 (如 backups, blocks, chainstate, 等.)完好无损,因为这些文件和文件夹可以提供区块链和个人设置的副本,从而提高钱包的恢复速度。

Now open Dash Core and wait for blockchain synchronization to complete. Your wallet will be restored/upgraded and all balances should be displayed. You should ensure you have the correct password by trying to unlock your wallet from Settings > Unlock Wallet to make sure you can actually create transactions using your balances. If you have any problems with your balance not appearing, try to force a rescan of the blockchain by going to Window > Wallet Repair and selecting Rescan blockchain files. Rebuild index may also help. Dash Core will restart and perform a full scan of the blockchain.

../../../_images/recovery-rescan.png
../../../_images/recovery-rescanning.png

Dash Core钱包重新扫描区块链#

At this stage, recovery is complete and you should make another backup using File > Backup Wallet or following the instructions here. If you have any further problems, try asking on the forum, Reddit or the #help-desk channel at Dash Discord.

达世币安卓钱包#

Similar to Dash Core wallet, Dash Wallet for Android can restore your wallet from a file. To restore this wallet on another device, simply copy the backup file to the /Downloads folder of your device using either a computer connected by USB or a file manager app on the device. Ensure your Dash wallet is fully updated in the Play Store, then open Dash. If you have an existing balance, either view and write down your recovery phrase or transfer your balance to an external address, because restoring a wallet will replace your existing wallet!

Select Restore from file from the menu at the bottom of the main page, locate your file, and enter your file’s password when prompted. This may take some time, and your balance will be displayed when complete.

备注

For devices that already have an active wallet, first write down the existing recovery phrase as a backup. Click the menu button on the bottom right corner and select Security > View Recovery Phrase to find it. After backing up the recovery phrase, reset the wallet by selecting the Security > Reset Wallet option and then proceed with restoring the backup file.

../../../_images/recovery-android1.jpg ../../../_images/recovery-android2.jpg

使用达世币安卓钱包恢复文件备份

恢复密语#

如果用户持有一个12个字节的短语并确信已经在iOS或安卓系统的移动设备上完成了备份,则可参考以下指南。

安卓系统上的12个字节的短语#

Ensure your Dash wallet is fully updated in the Play Store, then open Dash. If you have an existing balance, either view and write down your recovery phrase or transfer your balance to an external address, because restoring a wallet will replace your existing wallet.

Select Restore from recovery phrase from the menu at the bottom of the main page, and enter your 12-word phrase when prompted.

备注

For devices that already have an active wallet, first write down the existing recovery phrase as a backup. Click the menu button on the bottom right corner and select Security > View Recovery Phrase to find it. After backing up the recovery phrase, reset the wallet by selecting the Security > Reset Wallet option and then proceed with restoring the recovery phrase.

../../../_images/recovery-android3.jpg ../../../_images/recovery-android4.jpg

通过12个字节的短语恢复达世币安卓钱包

iOS系统上的12个字节短语#

用户需确保达世币钱包在应用商店中已完全更新,然后再打开达世币钱包。如果这是第一次打开应用程序,用户可以在开始屏幕上选择 恢复钱包 并直接输入恢复短语。恢复的钱包将会取代当前的钱包,因此,如果个人钱包中还有余额,用户应另行备份或将余额转移到外部地址。

Tap the menu button in the bottom right corner, select Security > Reset wallet. Tap Continue and enter your current wallet recovery phrase, then the app will reset and you will see the option to Recover wallet again.

../../../_images/recovery-ios1.png ../../../_images/recovery-ios2.png ../../../_images/recovery-ios3.png ../../../_images/recovery-ios4.png ../../../_images/recovery-ios5.jpg ../../../_images/recovery-ios6.png

通过12个字节的短语恢复达世币iOS钱包

达世币轻钱包上的12或13个字节的短语#

用户需确保达世币轻钱包已根据安装指南更新至最新版本。达世币轻钱包支持多种同步钱包,因此用户可以在不丢失旧版钱包的前提下安全地恢复新的钱包文件。点击 文件 > 新建/恢复 ,输入文件名并保存新钱包。随后,用户应选择 已有种子 并输入12或13个字节的恢复短语。接下来,用户需要输入钱包的新密码,单后点击 下一步 来通过恢复短语恢复钱包地址。

../../../_images/recovery-electrum1.png ../../../_images/recovery-electrum2.png ../../../_images/recovery-electrum3.png ../../../_images/recovery-electrum4.png ../../../_images/recovery-electrum5.png ../../../_images/recovery-electrum6.png

通过12个字节的短语恢复达世币轻钱包

硬件钱包的恢复密语#

如果用户的恢复密语含有12、18或24个字节,请阅读以下指南并完成操作:

恢复达世币轻钱包中的iOS钱包#

由于任何原因而无法访问iOS设备的用户可以使用达世币 iOS恢复短语恢复钱包里的资金。然而,由于钱包的派生路径各不相同,因此上述过程仅单向生效,也就是说用户无法使用iOS版本钱包来恢复达世币轻钱包。此外,由于导入过程直接使用xprv键而不是恢复短语,因此用户无法在达世币轻钱包中浏览恢复短语。考虑到这一点,用户需要转移(标准版达世币轻钱包或其它版本的)钱包中的资金,以确保标准的备份流程能如期生效。

恢复分两个步骤进行。首先,用户需要将达世币iOS钱包的恢复短语转换为xprv。其次,用户需要将它导入达世币轻钱包。

找回正确的达世币 iOS xprv密码#

用户需要访问BIP39 Mnemonic Code Converter页面。这是一个用于操控和显示BIP32/BIP39种子数据的实用工具。如果用户不习惯在线完成这项操作,也可以在这些指南页面下载文件并进行线下操作。在工具成功下载到浏览器上之后,用户需完成以下操作:

  1. BIP39 Mnemonic 字段中输入12个字节的种子短语。

  2. BIP39密码 栏留空。

  3. 选择币种为 达世币

  4. 派生路径 下选择 BIP44 选项栏。

  5. 复制 帐户扩展私钥 中显示的值。

将xprv密码导入达世币轻钱包#

  1. 打开达世币轻钱包并单击 文件 -> 新建/恢复

  2. 输入钱包的名称。

  3. 选择 标准版钱包

  4. 选择 使用公钥或私钥

  5. 粘贴 帐户扩展私钥 中显示的值。

  6. 选填密码。

现在,达世币轻钱包可以检测达世币iOS的余额了。此外,用户也可以重新访问个人资金。此后,达世币轻钱包中将不再提供种子短语。这意味着,想要再次借助恢复短语来恢复钱包的用户只需按照上述步骤再次操作即可。建议用户将资金发送到新的达世币轻钱包,然后按照标准备份程序来完成操作。

Older versions of the Dash iOS wallet used BIP32 addresses under the m/0' derivation path. The wallet should migrate these funds over to BIP44 addresses during normal use, but some residual balance may be under this derivation path, so restoring the BIP32 Extended Private Key may be helpful in some situations. Please see this forum thread for further discussion on this process.

私钥#

Most wallets offer a function to import an address from a private key, see the documentation for your wallet for specific instructions. While private keys can be stored in many ways, in this example we will work through the process of restoring a private key from a paper wallet using Dash Core. If you only have a QR code and not the key, use a barcode scanning app (Android or iOS) to read the code first.

First, start Dash Core and unlock your wallet by selecting Settings > Unlock Wallet. Enter your password, then open the debug console by selecting Window > Console. In the console, type the following, replacing the example private key with your key:

importprivkey 7rPQWnMrh3oWLtZrzt1zLRSCVyuBbwnt7fRBXPp2EwcPhtzXSzp
../../../_images/recovery-dashcore-privkey.png

通过Dash Core钱包中的调试控制台输入私钥#

Dash Core钱包将重新扫描涉及私钥公共地址的交易区块链,并导入钱包的交易与余额信息。

私钥必须采用钱包导入格式(WIF),如果密码通过BIP38加密(密钥以6P开头而不是以7开头),那么用户必须先解密才能以钱包导入格式浏览密钥。如需有关具体操作的说明,请访问 https://paper.dash.org/ 点击 钱包细节 。此时,系统将显示密码的 提示信息 ,并进行解码工作。用户需要找到名为 私钥WIF 的密码并将其输入个人钱包。

../../../_images/recovery-paper-decrypt.png ../../../_images/recovery-paper-wif.png

对经过BIP38加密的私钥进行解密,然后导入到Dash Core钱包当中

忘记密码#

在大多数情况下,如果用户选择了一个复杂的密码但又忘记了这个密码,那么密码就很难找回来。达世币钱包的加密功能非常大,而精心挑选的密码又有助于抵御强力破解。如果用户回忆起有关密码的细节信息,例如密码的长度或者字符的顺序,那么暴力破解值得一试。目前,有很多服务商都提供强力破解密码的服务。由于Dash Core钱包的技术以Bitcoin Core钱包技术为基础,因此对后者有效的密码破解技术对前者同样有效。相关链接: