Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update root README.md and README.recover.md with recovery phras… #1245

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ This project contains several sub-projects:
The Android app itself. This is probably what you're searching for.
* __common__:
Contains common components used by integrations.
* __integrations/uphold__
Contains the uphold integration
* __features__:
Contains features such as Explore Dash
* __market__:
App description and promo material for the Google Play app store.
* __integration-android__:
A tiny library for integrating Dash payments into your own Android app
(e.g. donations, in-app purchases).
* __integrations__
Contains the various integrations: Crowdnode, Coinbase, Uphold,
* __sample-integration-android__:
A minimal example app to demonstrate integration of digital payments into
your Android app.
Expand Down
41 changes: 38 additions & 3 deletions wallet/README.recover.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ password.

We need wallet-tool from dashj. First, in a working directory, let's get dashj:

git clone -b release-19 https://github.com/HashEngineering/dashj.git
git clone -b master https://github.com/HashEngineering/dashj.git

Make sure everything is compiled and ready to go by using once:

Expand Down Expand Up @@ -135,6 +135,42 @@ Then to get the private keys use:

Look for `priv WIF=<...>`, where `<...>` will be your private keys in wallet import format. Be careful where you put them, as anybody getting access to them will be able to steal your coins. Consider securely deleting the decrypted wallet once you get your private keys.


## RECOVERING FROM A RECOVERY PHRASE (BIP39 MNEMONIC)

There are two accounts on the BIP39 mnemonic phrase. One follows the BIP44 standard with path
m/44'/5'/0' and the second follows the BIP32 standard with path m/0'. Dash Wallet 5.18 (May 2018)
and higher use the BIP44 path as the default but maintain the BIP32 path for backward compatibility.

We need wallet-tool from dashj. First, in a working directory, let's get dashj:

git clone -b release-20 https://github.com/HashEngineering/dashj.git

Make sure everything is compiled and ready to go by using once:

cd dashj/tools
./wallet-tool

Now use wallet-tool to create a wallet using your recovery phrase:

./wallet-tool create --seed="<enter the 12 word recovery phrase here>" --wallet=recoveredwallet

Now use wallet-tool to sync the wallet from your backup:

./wallet-tool reset --wallet=recoveredwallet
./wallet-tool sync --wallet=recoveredwallet --debuglog

The sync process will take anywhere from a few minutes to hours. Wallet-tool will return to the
shell prompt if its finished syncing. Have a look at the wallet:

./wallet-tool dump --wallet=recoveredwallet

Does the balance look right? You can see all transactions that ever touched your wallet. Now empty
your entire wallet to the desired destination wallet:

./wallet-tool send --wallet=recoveredwallet --output=<receiving address of destination wallet>:ALL


## RECOVERING FROM BASE58 KEY FORMAT

Have a deeper look at the backup file (these files were produced by Darkcoin Wallet):
Expand All @@ -145,8 +181,7 @@ You'll see each line contains a key in WIF (wallet import format), technically B
datetime string after each key is the birthdate of that key which you can ignore for the purpose
of this one-time recovery.

Another option is importing each individual key into one of [Electrum Dash] (https://electrum.dash.org/#download)
or [Dash Core] (https://www.dash.org/downloads/).
Another option is importing each individual key into [Dash Core] (https://www.dash.org/downloads/).

As soon as you see your whole balance again, empty your entire wallet to the desired destination
wallet. Please do not continue to use the imported wallet. Remember you just operated on
Expand Down
Loading