This guide will walk you through having the same address on your Android phone and your PC using the DigiByte Core Wallet.
Keep in mind that this will only give you the one address from your Cellphone also on to your PC, your PC can (and probably will) also have additional receiving addresses, and this won’t automatically move your funds across either. More details at the end of this guide.
What this will give you is the ability to see and use your funds, both from your PC and from your Android Cellphone, from the same set of private / public keys, and it’s also fantastic for if you’re mining and want to keep an eye on DigiByte incoming.
Install the Android Wallet from the Play Store: https://play.google.com/store/apps/details?id=de.schildbach.wallet.digibyte&hl=en
Load the app, backup your wallet (It will prompt you to use a password, you must remember this super secret and secure password), then send the keys to yourself, say via Gmail, so you can later get it on to your PC or Laptop
Download / install OpenSSL on your PC
– For Windows users go to http://gnuwin32.sourceforge.net/packages/openssl.htm and then get the Binaries Zip file.
– Make a folder on your Desktop and call it OpenSSL, then extract the files to it
– Bring up a command prompt and run: cd Desktop\OpenSSL\bin
– For Linux users, you should have the respective binary already installed, but it’s likely part of package “openssl”
– sudo apt-get install openssl
– You can confirm you have it by running “whereis openssl” and it should likely return a result in /usr/bin
Download the encrypted wallet backup you’ve sent to yourself onto your PC
– For Windows users, put it in to your OpenSSL\bin folder you made earlier
– For Linux users, put it in to ~/
Decrypt the encrypted private key using:
openssl enc -d -aes-256-cbc -md md5 -a -in DigiByte-wallet-keys > DigiByte-Decrypted-Wallet
– You’ll be prompted “enter aes-256-cbc decryption password:“, this is where you enter the password you used in the Android App
Get the contents of that file, it’ll be your Private Key in Base58 format with the timestamp the wallet was create at the end of it
– You can do this by typing “more DigiByte-Decrypted-Wallet”, to show the contents
– Then in Windows, push Ctrl + M to “Mark” it, select the private key, then push Enter to copy it to your clipboard
In your DigiByte Core Wallet, go to Help –> Debug Window –> Console
– IF your current Desktop DigiByte Core wallet is encrypted, you’ll need to temporarily decrypt it using:
walletpassphrase YourDesktopCorePassphraseHERE 180
NOTE: This is your DESKTOP passphrase, if you have one. If not, skip the “walletpassphrase” step.
Import your Base58 private key using:
importprivkey QUrg41Cv44EbjePggERgehtS3bNGp7Gq7Mq5Z72Rq3TL4Cyw8sNg ‘Shared Android Wallet’
Replacing the second part with the private key you got from your DigiByte-Decrypted-Wallet file
Wait for it to finish finding all your old transactions
Now this part (depending on your PC) will take a while, probably a good 30-60 minutes depending on your PC while your Wallet goes back and finds any transactions to that account. Just leave it. It may look like it’s stuck on 1% for a while, but just let it do it’s thing
Congratulations you’ve now got the same address on your Desktop and your Cellphone.
From here, you probably want to transfer your DigiByte in to this newly imported address. Once you do this, it will then show on your Desktop AND on your Cellphone. Otherwise you’ll be looking at your devices wondering why they don’t match.
Now, there are a number of concerns here around this all, namely the fact you’ve had your private key sitting in an unencrypted file on your PC (It’s still there in your ~/ or your Desktop OpenSSL folder), plus there are people who suggest only keeping a small amount of money on your mobile wallet, plus there’s the possibility of your phone being stolen etc…
This guide is just a “HowTo”, not a “best practices” or a “should you even do this?” in any way.