Request: How to keep wallet offline and safe.

JMW

New Member
Mar 31, 2015
1
1
3
How do you keep a wallet offline? Lets say I purchase 1000 DASH and dont plan on trading it for awhile. How would you store them to ensure they don't go missing?
 
  • Like
Reactions: Dunedoo

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
How do you keep a wallet offline? Lets say I purchase 1000 DASH and dont plan on trading it for awhile. How would you store them to ensure they don't go missing?
Dump your privkey and write it down or print it, keep it in a safe box or boxes. Also save your wallet.dat on multiple USB sticks and put them in a safe places.
 
  • Like
Reactions: Dunedoo

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Hi can u please walk me through a dash paper wallet withdrawal?
Here's the site that explains what you're looking for:
https://walletgenerator.net/?currency=Darkcoin#

Look under "How to spend the coins stored in a paper wallet ?"
"You will need to import your private key in a real client, that you can download from the currency website. The exact method to do that will depend on the client. If there is no integrated method, you can usually fall back to the debug console and use the command “importprivkey [yourprivatekey]“."

All you have to do is download and install Dash wallet from dashpay.io. Go to debug console and follow that instruction.

The money should be back in your real wallet on your computer for you to spend! Have fun. :)
 
  • Like
Reactions: Dunedoo

JCM

New Member
Jan 25, 2015
23
2
3
Thanks ......but my wallet has a passphrase how would the script look like? with passphrase on it?
 
  • Like
Reactions: Dunedoo

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Thanks ......but my wallet has a passphrase how would the script look like? with passphrase on it?
On your debug console, type: walletpassphrase <yourpassphrase> 99999 importprivkey <yourprivkey> (without those brackets < > ).

"99999" is just an arbitrary number for seconds to keep your wallet open so you can import your privkey.
 
  • Like
Reactions: Dunedoo and buster

UdjinM6

Official Dash Dev
Dash Core Team
Moderator
May 20, 2014
3,638
3,538
1,183
On your debug console, type: walletpassphrase <yourpassphrase> 99999 importprivkey <yourprivkey> (without those brackets < > ).

"99999" is just an arbitrary number for seconds to keep your wallet open so you can import your privkey.
Slight correction - it's 2 separate commands:
walletpassphrase <yourpassphrase> 99999
importprivkey <yourprivkey> <label>
And you can also assign <label> which will be shown in "Receiving addresses" next to corresponding address.
 
  • Like
Reactions: moli

JCM

New Member
Jan 25, 2015
23
2
3
Can I ask you a stupid question? The "99999" is that the time your wallet is going to be open?
 

JCM

New Member
Jan 25, 2015
23
2
3
Thank you the scripts work . Now my private key is not working. Invalid key it say code -5. Where can I look that up?
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Thank you the scripts work . Now my private key is not working. Invalid key it say code -5. Where can I look that up?
Sorry I overlooked an error in my previous post.. But did you follow Udjin's instruction exactly?

Step 1: walletpassphrase <yourpassphrase> 99999
(To open your wallet)

Stepe 2: importprivkey <yourprivkey> <label>
(To import your privkey. I normally disregard the label but you can type a name in there for your address)

Not sure why it's not working but code -5 means the privkey is incorrect: "Invalid private key encoding (code -5)", so make sure you type it in the console correctly and try again?
 

JCM

New Member
Jan 25, 2015
23
2
3
Moli thanks for your patience with me brother I appreciate it. So step 1 worked for me. Step 2 gives me an invalid message. I got this paper wallet from a cryptocards website I copied and pasted both my public and private and sent it to them. I dunno if I messed up copying and pasting but who would mess that up? Anyway I was gonna ask you about that public key that is paired up with my privkey that keeps giving me invalid message. That public key is not linked to my dash qt wallet how do I link it. I think that's the issue
 

UdjinM6

Official Dash Dev
Dash Core Team
Moderator
May 20, 2014
3,638
3,538
1,183
Moli thanks for your patience with me brother I appreciate it. So step 1 worked for me. Step 2 gives me an invalid message. I got this paper wallet from a cryptocards website I copied and pasted both my public and private and sent it to them. I dunno if I messed up copying and pasting but who would mess that up? Anyway I was gonna ask you about that public key that is paired up with my privkey that keeps giving me invalid message. That public key is not linked to my dash qt wallet how do I link it. I think that's the issue
That explains it pretty well - wallet do not accept bip38 encrypted private keys, you need to decrypt it first and then use importprivekey with the result.
To decrypt it you can use https://walletgenerator.net/?currency=Darkcoin# for example. Go to "Wallet Details" tab, enter your bip38 privkey, click view detials, enter bip38 password, grab "Private Key WIF Compressed (52 characters Base58)" and import it into wallet. (You can do this completely offline to be safe)

EDIT: try to grab this one instead - "Private Key WIF (51 characters) Base58"
 
Last edited by a moderator:

JCM

New Member
Jan 25, 2015
23
2
3
I should have said that in the first place huh LOL. Ok so after I import my privkey What script would I use to withdraw the funds to my wallet? Thanks bro that helped a lot
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
I should have said that in the first place huh LOL. Ok so after I import my privkey What script would I use to withdraw the funds to my wallet? Thanks bro that helped a lot
When you import your privkey you import the money that is in the pubkey of that privkey. The money should show up right away once you got the privkey imported.
 

UdjinM6

Official Dash Dev
Dash Core Team
Moderator
May 20, 2014
3,638
3,538
1,183
I should have said that in the first place huh LOL. Ok so after I import my privkey What script would I use to withdraw the funds to my wallet? Thanks bro that helped a lot
Your money is on the blockchain and you private key is the key to unlock your money and move them on the blockchain (while your public key is the key to view your money on the blockchain but not to move them). It doesn't matter how many wallets you (or someone) have imported you private key to - all of them will have the same level of control of your money. That's why it is very important to keep it safe.
 
  • Like
Reactions: splawik21 and moli

JCM

New Member
Jan 25, 2015
23
2
3
OK thanks guys. Would you recommend getting paper wallets on a website using BIP38?
 

moocowmoo

Bovine Bit-flipper
Foundation Member
Jun 15, 2014
483
603
263
masternode.me
Dash Address
XmoocowYfrPKUR6p6M5aJZdVntQe71irCX
OK thanks guys. Would you recommend getting paper wallets on a website using BIP38?
how to build a secure paper wallet:
  1. goto https://walletgenerator.net/
  2. save page as -> to a usb key
  3. on a secure laptop with networking turned off (or even better, a linux live cd) generate and print your wallets.
  4. to protect from flood/monsoon/zombies, print two copies (ignore the webpage warnings) and place them in waterproof bags/different buildings
  5. send funds to newly created addresses
  6. have a beer
bip38 is great for protecting your paper wallets, just make sure you don't forget/lose the password.
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
OK thanks guys. Would you recommend getting paper wallets on a website using BIP38?
Did you manage to import your privkey from the paper wallet successfully? You got all your coins in the wallet, correct? Please do tell us. I can't wait to hear how that turned out for you! :)
 

JCM

New Member
Jan 25, 2015
23
2
3
Did you manage to import your privkey from the paper wallet successfully? You got all your coins in the wallet, correct? Please do tell us. I can't wait to hear how that turned out for you! :)

Still no joy.... after I did wallet passphrase and then importprivkey I used the decrypted key "52 characters Base58" the funds still did not transfer. But I checked in the blockchain explorer the funds are still there.
 

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Still no joy.... after I did wallet passphrase and then importprivkey I used the decrypted key "52 characters Base58" the funds still did not transfer. But I checked in the blockchain explorer the funds are still there.
Hmm.. that's odd. Did you follow Udjin's advice from his post: https://dashtalk.org/threads/request-how-to-keep-wallet-offline-and-safe.4535/#post-52112 ?

I'm going to list the steps in his instruction to make it a bit clearer:
1. Go to "Wallet Details" tab, enter your bip38 privkey,
2. Click view details, enter bip38 password,
3. Grab "Private Key WIF Compressed (52 characters Base58)" "Private Key WIF (51 characters) Base58" and import it into wallet.
(You can do this completely offline to be safe)

Maybe try this instruction again and see if it works? Note that he said to import your "Private Key WIF Compressed (52 characters Base58)" "Private Key WIF (51 characters) Base58" to your wallet.
 
Last edited by a moderator:

JCM

New Member
Jan 25, 2015
23
2
3
Hmm.. that's odd. Did you follow Udjin's advice from his post: https://dashtalk.org/threads/request-how-to-keep-wallet-offline-and-safe.4535/#post-52112 ?

I'm going to list the steps in his instruction to make it a bit clearer:
1. Go to "Wallet Details" tab, enter your bip38 privkey,
2. Click view details, enter bip38 password,
3. Grab "Private Key WIF Compressed (52 characters Base58)" and import it into wallet. (You can do this completely offline to be safe)

Maybe try this instruction again and see if it works? Note that he said to import your "Private Key WIF Compressed (52 characters Base58)" to your wallet.
I tried twice with the above instructions. Still did not work. Is there anything else im missing on the script? Or do I have put the amount? importprivkey "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "12345"?
 

moocowmoo

Bovine Bit-flipper
Foundation Member
Jun 15, 2014
483
603
263
masternode.me
Dash Address
XmoocowYfrPKUR6p6M5aJZdVntQe71irCX
I tried twice with the above instructions. Still did not work. Is there anything else im missing on the script? Or do I have put the amount? importprivkey "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "12345"?
you have to unlock your wallet first

Code:
walletpassphrase <yourpasswordhere> 120
importprivkey <yourwif> <a_label>
where a_label is a label you want to attach to the address. e.g. "paper_wallet_Xblahbla"

your wif will start with a X -- here's a random one as an example: XBKyyfrysJjh6mQJt9emW86xzieJDM4LfxAbanZXMYAmxdbRKDUz
 

JCM

New Member
Jan 25, 2015
23
2
3
you have to unlock your wallet first

Code:
walletpassphrase <yourpasswordhere> 120
importprivkey <yourwif> <a_label>
where a_label is a label you want to attach to the address. e.g. "paper_wallet_Xblahbla"

your wif will start with a X -- here's a random one as an example: XBKyyfrysJjh6mQJt9emW86xzieJDM4LfxAbanZXMYAmxdbRKDUz
Yes, the WIF is the one I used and it started with an X. Still no joy. Ok I understand the pairing of the public key and the decrypted private key to access the funds. But here's my question. Whenever I import my decrypted privatekey to my dash qt wallet. How would I know that I am pairing it the public key that I have on my paper wallet? The scripts by the way are working fine I don't get any error message whenever I input them. Its just nothing happens when I enter the walletphrase "xxxxx" "label" and then importprivkey "xxxxxxxx"
 
Last edited by a moderator:

splawik21

Grizzled Member
Dash Core Team
Moderator
Foundation Member
Dash Support Group
Apr 8, 2014
1,923
1,284
1,283
Hmmm strange....
Do you get any kind of error msg?
edit: moli LOL walletphrase just passed me and I didn`t saw the error ;)
 
Last edited by a moderator:

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
Yes, the WIF is the one I used and it started with an X. Still no joy. Ok I understand the pairing of the public key and the decrypted private key to access the funds. But here's my question. Whenever I import my decrypted privatekey to my dash qt wallet. How would I know that I am pairing it the public key that I have on my paper wallet? The scripts by the way are working fine I don't get any error message whenever I input them. Its just nothing happens when I enter the walletphrase "xxxxx" "label" and then importprivkey "xxxxxxxx"
It's not "walletphrase". It's "walletpassphrase". So I guess you typed the wrong word in and that was why it didn't work? Again, here are the steps:
  • Step 1: walletpassphrase <yourpassphrase> 600
    (To open your wallet for 10 minutes)

  • Step 2: importprivkey <yourprivkey> <label>
    (To import your private key. You can disregard label or type a name for your address there.)
 

JCM

New Member
Jan 25, 2015
23
2
3
It's not "walletphrase". It's "walletpassphrase". So I guess you typed the wrong word in and that was why it didn't work? Again, here are the steps:
  • Step 1: walletpassphrase <yourpassphrase> 600
    (To open your wallet for 10 minutes)

  • Step 2: importprivkey <yourprivkey> <label>
    (To import your private key. You can disregard label or type a name for your address there.)
I meant to type "walletpassphrase" pls ignore that part of the post that would've gave me an error message. I have tried multiple times with your instruction above. Now im thinking of backing up and then emptying my wallet uninstall and re install see If that works.
 
Last edited by a moderator:

moli

Grizzled Member
Aug 5, 2014
3,255
1,830
1,183
I meant to type "walletpassphrase" pls ignore that part of the post that would've gave me an error message. I have tried multiple times with your instruction above. Now im thinking of backing up and then emptying my wallet uninstall and re install see If that works.
Any luck?