langerhans / dogecoin-wallet-new

Dogecoin Wallet app for your Android device. Standalone Dogecoin node, no centralized backend required. Forked from the popular Bitcoin Wallet.
189 stars 105 forks source link

App unable to sync, cannot extract private keys, don't even know if I own this address #68

Open Jademalo opened 3 years ago

Jademalo commented 3 years ago

I downloaded the app earlier in order to buy some dogecoin, and after starting it it showed me an address. I gave this to the broker as the address to send the coins to.

Since then, the app has refused to sync even a single block. It's stuck on 2706000, dated 01/05/2019. Occasionally a peer will show, but nothing will change.

I'm inexperienced with how crypto wallets work, and I'm now extremely concerned that this address isn't "mine" since the wallet is unable to sync with the network. If that is the case, then I've had a load of doge just vanish into the aether.

I've attempted to extract the private keys from the backup in order to try and use dogechain.info instead, but this didn't lead anywhere. And as I said, I'm not sure it would even matter since the app that generated the wallet in the first place is unable to sync to the blockchain.

Please advise what to do here, since right now I've got zero access to the coins I bought, and there seems to be nothing I can do. I'm at the mercy of this app actually syncing to the blockchain.

Thanks

zzudwa commented 3 years ago

Good news: the wallet is yours you will get coins afterall Bad news: synchronizing will take ages before that you can do nothing. Private key can not be exported anyhow as well. So-so news: synchronizing finally began to work but super slowly.

Jademalo commented 3 years ago

Thanks for that good news, that was stressing me out no end. I've already been screwed over by the broker for a good 50%, let alone the volatility of the coins. At least knowing I have them is a bit of comfort.

Mine isn't syncing. No peers, stuck on 01/05/2019. Even if a peer appears, the chain doesn't change.

zzudwa commented 3 years ago

We discussing it in previous tread https://github.com/langerhans/dogecoin-wallet-new/issues/67 No response from developer so far.

valentnere commented 3 years ago

that's why the doge price so high, because we can't do anything to it. hahaha

zzudwa commented 3 years ago

that's why the doge price so high, because we can't do anything to it. hahaha

Pehaps so

LevitatingBusinessMan commented 3 years ago

Hey @langerhans, super happy to see some activity from you in the other thread. Isn't it possible for us to somehow extract the private keys of the receive addresses? So we can still move the coins? I tried extracting keys from the archive but I only ended up with 4 empty addresses, none of which was the address I send the coins to, I guess the receive addresses aren't included in the archive?

So can we extract those privkeys somehow? Or can we bootstrap the app so speed up the syncing?

firlus commented 3 years ago

Game problem here. If anyone finds a solution, please let me know. Tried everything...

langerhans commented 3 years ago

Just thinking about that, even if you do get the privkeys out, where are you planning to put them? There aren't really any wallets besides Dogecoin Core that accept raw private keys. At least none that I'm aware of.

firlus commented 3 years ago

@langerhans dogechain.info e.g.

trapiche-n commented 3 years ago

In case someone needs:

How to export from Langers Hans' android dogecoin wallet to coinomi wallet

1) Make a backup of the wallet and transfer it to the computer (If you have a "spending PIN" remove it before making the backup [essential])

2) with openssl decrypt the backup (use the password with which the wallet was saved): openssl enc -d -aes-256-cbc -md md5 -a -in YOUR-dogecoin-wallet-backup-FILENAME -out dogecoin-wallet-decrypted

3) With a HEX editor open decrypted file (I use GHex) The 12 keywords (seed phrase) will be easily visible at the beginning of the file (near the string "org.dogecoin.production").

4) In coinomi wallet choose "recover a wallet"

5) Insert the seed phrase (it will also ask for a password for the new wallet)

6) In coins list find dogecoin and click on check and also on the gear icon There Enter the derivation path --> M/0H

7) That's it ... the balance should appear

firlus commented 3 years ago

Holy @trapiche-n you made my day! Thank you so much please give your doge wallet address, I need to send you a small "thank you"

Jademalo commented 3 years ago

Oh wow @trapiche-n , that's amazing! Is there any way to do this to generate the key directly rather than having to use coinomi, so it can be added to something like dogechain.info?

firlus commented 3 years ago

Oh wow @trapiche-n , that's amazing! Is there any way to do this to generate the key directly rather than having to use coinomi, so it can be added to something like dogechain.info?

If you have access via coinomi, you may send it to another wallet from there

Jademalo commented 3 years ago

I more mean for future reference, if coinomi isn't available for whatever reason

trapiche-n commented 3 years ago

Holy @trapiche-n you made my day! Thank you so much please give your doge wallet address, I need to send you a small "thank you"

hahaha thank you very much .... :D DSZMp4bnYL3uZFxhGh35dy1XCPuxZNoHpW

mateocordoba2912 commented 3 years ago

What worries me the most is that we can never be sure if this whole thing is just a fad that will die before I receive my Dogecoins. @trapiche-n 's solution is way too cumbersome for me (jusy started coding)

firlus commented 3 years ago

@Jademalo found something...

https://iancoleman.io/bip39/

Enter your mnemonic there Choose doge coin Go to deviation path, select the BIP32-Tab and set this as your custom path: m/0'/0

you now should see your address and keys in the first line of the table

LevitatingBusinessMan commented 3 years ago

Ye, what @trapiche-n did wasn't magical or something. @WindowsGott50 had already tried this with the same website @firlus just mentioned but couldn't find the right settings. Let me try it with your settings. Edit: Yep that's it.

firlus commented 3 years ago

I played with the settings until I saw my address popping up :D

Jademalo commented 3 years ago

Oh, it worked! Amazing, thank you so much @firlus. I'd tried that earlier, but didn't know the correct derivation path. I had only tried m/0 and /0'

On another note, I just had a notification through on my phone that a transaction had appeared in my wallet. However now I can't open the app, and it just hangs.

LevitatingBusinessMan commented 3 years ago

@firlus yep, m/0'/0 did the trick. Thanks m8

@Jademalo App is crashing for me also, just wait a minute and restart it again.

If you want to get your key into dogecoin Core, go to help, debug (I think), open the console, run importprivkey <key>

firlus commented 3 years ago

Happy to help, let's now continue to get dogecoin to $1! @LevitatingBusinessMan, @Jademalo

trapiche-n commented 3 years ago

in my case ancoleman.io/bip39/ tool was never able to regenerate wallets private keys ..... but with m/0' path I was able to regenerate extended private key only

WindowsGott50 commented 3 years ago

@Jademalo found something...

https://iancoleman.io/bip39/

Enter your mnemonic there Choose doge coin Go to deviation path, select the BIP32-Tab and set this as your custom path: m/0'/0

you now should see your address and keys in the first line of the table

Thank you man! The path m/0'/0 was the thing I was missing. I now too was able to recover my funds from the wallet, though of course, my exchange of choice is currently suspending Doge deposits and withdrawals, how come?

mateocordoba2912 commented 3 years ago

@Jademalo found something...

https://iancoleman.io/bip39/

Enter your mnemonic there Choose doge coin Go to deviation path, select the BIP32-Tab and set this as your custom path: m/0'/0

you now should see your address and keys in the first line of the table

I'm sorry, what's my mnemonic?

firlus commented 3 years ago

@mateocordoba2912 the 12 keywords you get by following the first steps of this guide: https://github.com/langerhans/dogecoin-wallet-new/issues/68#issuecomment-769800820

arimotearipo commented 3 years ago

I am waaaayyy to amateur to be knowing how to handle those steps suggested by @trapiche-n Is there somebody who can help a layman like me?

arimotearipo commented 3 years ago

with openssl decrypt the backup (use the key with which the wallet was saved): openssl enc -d -aes-256-cbc -md md5 -a -in dogecoin-wallet-backup-2021-01-10 -out doge-coin-wallet-decrypt

Can someone explain this part? I entered the code but I'm not sure if I'm doing it right. Am I supposed to replace dogecoin-wallet-backup-2021-01-10 with my backup file name?

firlus commented 3 years ago

yes


From: the92ari notifications@github.com Sent: Friday, January 29, 2021 4:23:52 PM To: langerhans/dogecoin-wallet-new dogecoin-wallet-new@noreply.github.com Cc: Michael Firlus michael@firlus.dev; Mention mention@noreply.github.com Subject: Re: [langerhans/dogecoin-wallet-new] App unable to sync, cannot extract private keys, don't even know if I own this address (#68)

with openssl decrypt the backup (use the key with which the wallet was saved): openssl enc -d -aes-256-cbc -md md5 -a -in dogecoin-wallet-backup-2021-01-10 -out doge-coin-wallet-decrypt

Can someone explain this part? I entered the code but I'm not sure if I'm doing it right. Am I supposed to replace dogecoin-wallet-backup-2021-01-10 with my backup file name?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/langerhans/dogecoin-wallet-new/issues/68#issuecomment-769869962, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE7FE4NNSHIUFLS3BAQJE63S4LHIRANCNFSM4WYWJPPA.

arimotearipo commented 3 years ago

After doing that, it prompts me Extra arguments given. enc: Use -help for summary.

Is this good?

firlus commented 3 years ago

you should be fine. If you need help contact me via mail, so we don't have to bother everyone with notifications


From: the92ari notifications@github.com Sent: Friday, January 29, 2021 4:27:30 PM To: langerhans/dogecoin-wallet-new dogecoin-wallet-new@noreply.github.com Cc: Michael Firlus michael@firlus.dev; Mention mention@noreply.github.com Subject: Re: [langerhans/dogecoin-wallet-new] App unable to sync, cannot extract private keys, don't even know if I own this address (#68)

After doing that, it prompts me Extra arguments given. enc: Use -help for summary.

Is this good?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/langerhans/dogecoin-wallet-new/issues/68#issuecomment-769872134, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE7FE4JKJG4O5JSITCVWOQLS4LHWFANCNFSM4WYWJPPA.

arimotearipo commented 3 years ago

@firlus OK. I just emailed you to the address on your profile. Thank you so much man.

langerhans commented 3 years ago

A WORD OF CAUTION:

If random people on the internet ask you for your wallet files, either backups or passwords or seed phrases. DO NOT SEND THEM. I'm not saying anyone in this thread will scam you, but keep that in mind as a general rule of thumb.

firlus commented 3 years ago

That was not in my interest, but is sure important to mention!

Von: Max K. notifications@github.com Gesendet: Freitag, 29. Januar 2021 17:08 An: langerhans/dogecoin-wallet-new dogecoin-wallet-new@noreply.github.com Cc: Michael Firlus michael@firlus.dev; Mention mention@noreply.github.com Betreff: Re: [langerhans/dogecoin-wallet-new] App unable to sync, cannot extract private keys, don't even know if I own this address (#68)

A WORD OF CAUTION:

If random people on the internet ask you for your wallet files, either backups or passwords or seed phrases. DO NOT SEND THEM. I'm not saying anyone in this thread will scam you, but keep that in mind as a general rule of thumb.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/langerhans/dogecoin-wallet-new/issues/68#issuecomment-769896014, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE7FE4L2K65TU4G4F2QGKCLS4LMP3ANCNFSM4WYWJPPA.

seaweed5 commented 3 years ago

Hi, I imported the seed to coinomi, also tried dogecoin.info online wallet. For both of them I can import my wallet, but balance is not showing up. What could be the issue?

firlus commented 3 years ago

Probably the wrong derivation path

Michael Firlus

DOGE address: DPHdvd8pcGQjJTq4vFzeGPkWLXtLts5zrv

Kontakt michael@4lus.demailto:michael@4lus.de +49 176 22710818<tel:+4917622710818>

Links Websitehttps://firlus.dev/ | Instagramhttps://instagram.com/michaelfirlus | GitHubhttps://github.com/firlus

Von: seaweed5 notifications@github.com Gesendet: Freitag, 29. Januar 2021 19:31 An: langerhans/dogecoin-wallet-new dogecoin-wallet-new@noreply.github.com Cc: Michael Firlus michael@firlus.dev; Mention mention@noreply.github.com Betreff: Re: [langerhans/dogecoin-wallet-new] App unable to sync, cannot extract private keys, don't even know if I own this address (#68)

Hi, I imported the seed to coinomi, also tried dogecoin.info online wallet. For both of them I can import my wallet, but balance is not showing up. What could be the issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/langerhans/dogecoin-wallet-new/issues/68#issuecomment-769973984, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE7FE4KDJJRXDOMTJQCI3QLS4L5GHANCNFSM4WYWJPPA.

seaweed5 commented 3 years ago

Hmm, but I'm using the M/0'/0 as described. Which of the private keys should I import? Or doesn't it matter?

firlus commented 3 years ago

Do you know your address? In the table on the bottom you should see it, take its priv key

Michael Firlus

DOGE address: DPHdvd8pcGQjJTq4vFzeGPkWLXtLts5zrv

Kontakt michael@4lus.demailto:michael@4lus.de +49 176 22710818<tel:+4917622710818>

Links Websitehttps://firlus.dev/ | Instagramhttps://instagram.com/michaelfirlus | GitHubhttps://github.com/firlus

Von: seaweed5 notifications@github.com Gesendet: Freitag, 29. Januar 2021 19:37 An: langerhans/dogecoin-wallet-new dogecoin-wallet-new@noreply.github.com Cc: Michael Firlus michael@firlus.dev; Mention mention@noreply.github.com Betreff: Re: [langerhans/dogecoin-wallet-new] App unable to sync, cannot extract private keys, don't even know if I own this address (#68)

Hmm, but I'm using the M/0'/0 as described. Which of the private keys should I import? Or doesn't it matter?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/langerhans/dogecoin-wallet-new/issues/68#issuecomment-769977132, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE7FE4P4I5I4VINNJEEDIDTS4L56LANCNFSM4WYWJPPA.

seaweed5 commented 3 years ago

Nope, sadly not. But I sure used the right mmnoic and derivation path.

trapiche-n commented 3 years ago

Hmm, but I'm using the M/0'/0 as described. Which of the private keys should I import? Or doesn't it matter?

try: In coins list find dogecoin and click on check and also on the gear icon There Enter the derivation path M/0H https://github.com/langerhans/dogecoin-wallet-new/issues/68#issuecomment-769800820

sudo-run-dos-run commented 3 years ago

Thanks a ton, @firlus great job. Hint: Change is found at path "m/0'/1" (Ian Coleman tool), in case s/o ever sent something to s/o.

Langerhans' Dogecoin wallet worked for me for a while, but a few weeks ago it stopped syncing, couldn't repair it.

IIbisu commented 3 years ago

In case someone needs:

How to export from Langers Hans' android dogecoin wallet to coinomi wallet

  1. Make a backup of the wallet (transfer it to the computer)
  2. with openssl decrypt the backup (use the password with which the wallet was saved): openssl enc -d -aes-256-cbc -md md5 -a -in YOUR-dogecoin-wallet-backup-FILENAME -out dogecoin-wallet-decrypted
  3. With a HEX editor open decrypted file (I use GHex) The 12 keywords (seed phrase) will be easily visible at the beginning of the file (near the string "org.dogecoin.production").
  4. In coinomi wallet choose "recover a wallet"
  5. Insert the seed phrase (it will also ask for a password for the new wallet)
  6. In coins list find dogecoin and click on check and also on the gear icon There Enter the derivation path --> M/0H
  7. That's it ... the balance should appear

I'm a complete newb when it comes to code, and i can't seem to succeed at the second step: i replace the YOUR-dogecoin-wallet-backup-FILENAME with my filename but the only response from openssl is "Extra arguments given" and it's not giving me any new file that should be decrypted, what can i do ? Anyway, thanks for the time you're taking to respond to these questions. @trapiche-n

trapiche-n commented 3 years ago

@IIbisu What version of openssl do you have?

IIbisu commented 3 years ago

@trapiche-n Win64OpenSSL_Light-1_1_1i

langerhans commented 3 years ago

Hey folks,
I started working on a small tool to simplify that process. It dumps the seed phrase which you can then use in other wallets or to derive your private keys. This is in super rough shape but I have tested it with a backup of the current android wallet and it works for me.
To use it unpack the exe file somewhere and then drag the wallet backup file onto it. Caveat: It doesn't support wallets that had a spending pin set yet. Let me know if it works for you and I'll get it in better shape.

doge_android_dump.zip

dogehelp commented 3 years ago

Hey guys - is there a solution for mac? I transferred the backup file to my macbook and after that I am stuck. Thanks

trapiche-n commented 3 years ago

@IIbisu I am using OpenSSL 1.1.1 11 Sep 2018 ubuntu 18.04, please check if your arguments is correct with openssl help @langerhans great... @dogehelp...it same thing

langerhans commented 3 years ago

doge_android_dump_darwin_amd64.zip

@dogehelp Built it for mac but can't test it. Might need to use terminal to run it. Not sure if Mac supports drag and drop like that.

dogehelp commented 3 years ago

@IIbisu I am using OpenSSL 1.1.1 11 Sep 2018 ubuntu 18.04, please check if your arguments is correct with openssl help @langerhans great... @dogehelp...it same thing

Didn't ask for the password for the backupfile - I must have done something wrong

IIbisu commented 3 years ago

@trapiche-n openssl enc -d -aes-256-cbc -md md5 -a -in dogecoin-wallet-backup-2021-01-29 (1) -out dogecoin-wallet-decrypted this is the argument i put on openssl, maybe i should try with the file from @langerhans ? but are there any extra steps after downloading the zip file ?