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

Accidently Sent LTC to BTC electrum wallet. #68

Closed
jamelna opened this issue Sep 8, 2017 · 12 comments
Closed

Accidently Sent LTC to BTC electrum wallet. #68

jamelna opened this issue Sep 8, 2017 · 12 comments

Comments

@jamelna
Copy link

jamelna commented Sep 8, 2017

So yeah. I accidentally sent an ltc from my litecoin core wallet to an electrum btc wallet by mistake. It shows that it went through, but there is nothing in my electrum wallet (not that I expected to see an amount) but no message at all. Any suggestions?

@pooler
Copy link
Owner

pooler commented Sep 9, 2017

Did you send the coins to a P2SH address starting with 3?

Did you use Electrum-LTC at any point in the process?

@jamelna
Copy link
Author

jamelna commented Sep 9, 2017

Seems that I did use a P2SH Address starting with 3:
https://live.blockcypher.com/ltc/tx/65e21845ea683d1a791e1ae35ea54cb97268a90c2e09b20368a4c5dcfee935a9/

And I used Electrum-LTC after the fact to try and use my seed from the Electrum BTC wallet, but nothing showed up.

@pooler
Copy link
Owner

pooler commented Sep 9, 2017

After you load your Electrum seed in Electrum-LTC, do the addresses in the Addresses tab match those generated by Electrum?

You can use this tool to convert between old and new P2SH addresses.

@jamelna
Copy link
Author

jamelna commented Sep 9, 2017

They do not match.

@pooler
Copy link
Owner

pooler commented Sep 9, 2017

Then you probably did something wrong when you tried to restore from seed. Could you please describe the procedure you followed step by step?

@jamelna
Copy link
Author

jamelna commented Sep 10, 2017

So very likely I did do something wrong in restoring so since I've tried a few different ways:

  1. Tried importing a backup wallet from electrum to electrum-ltc... which I never got past the entering password screen.

  2. Creating a standard wallet, entering seed (gives msg: Seed Type 2fa), just click next and it stays on a "please wait" screen forever.

  3. Creating a standard wallet, entering seed (gives msg: Seed Type 2fa), just choose BIP39 seed, hit next, asks for wallet derivation, click next, don't choose to encrypt wallet and get addresses starting with L

  4. Creating a standard wallet, entering seed (gives msg: Seed Type 2fa), just choose BIP39 seed, hit next, asks for wallet derivation, click next, choose to encrypt wallet and get addresses starting with L

  5. Create multi-sig wallet, enter seed, can't click next unless I pick bip39, click next, enter derivation , enter cosigner key, (I don't have the private master key, so I enter public cosigner key from electrum (btc) wallet, don't encrypt wallet, get addresses that don't match.

  6. Create multi-sig wallet, enter seed, can't click next unless I pick bip39, click next, enter derivation , enter cosigner key, (I don't have the private master key, so I enter public cosigner key from electrum (btc) wallet, don't encrypt wallet, get addresses that don't match.

  7. Create multi-sig wallet, enter seed, can't click next unless I pick bip39, click next, enter derivation , enter cosigner key, (I don't have the private master key, so I enter public cosigner key from electrum (btc) wallet, encrypt wallet, get addresses that don't match.

And that's where I currently am.

@pooler
Copy link
Owner

pooler commented Sep 10, 2017

Do you remember how you created the original wallet in Electrum? (You said it's a P2SH address, so I suppose it's multi-sig? In that case, wouldn't you have more than one seed?)

What's the difference between 5 and 6 above?

In 5, 6, and 7 I suppose you're getting addresses starting with 'M'. When you say that the addresses don't match, have you first converted them to legacy addresses starting with '3' using the tool I linked above?

@jamelna
Copy link
Author

jamelna commented Sep 10, 2017

in 6, i should have changed it to encrypt wallet. yes the address start with M, and using the conversion tool they don't match with the addresses in the electrum btc wallet. and I didn't choose multisig but wallet with two-factor authorization when creating the electrum btc wallet. This isn't an option in electrum-ltc when creating a wallet.

@pooler
Copy link
Owner

pooler commented Sep 10, 2017

You should have mentioned this earlier. Two-factor authentication is a service provided by TrustedCoin (see here), and they do not support Litecoin, which is why this option isn't present in Electrum-LTC.

Now, the problem is that 2FA seeds are a special variety that isn't supported by Electrum-LTC (for the reason above). It should still be possible to recover the coins, I'm just not entirely sure how without writing ad-hoc code. Here is what I would try. First of all, in Electrum for Bitcoin, make a new wallet restoring from your 2FA seed, and when asked select to disable TrustedCoin. Do not enter a password. Then, close Electrum and open the wallet file you just created in a text editor. You will find 3 xpub and 2 xprv addresses. Open Electrum-LTC and create a new multi-sig wallet with a 2-of-3 scheme. Use the first xprv address and the other two xpub addresses. This should give you a wallet with the right addresses (use the converter to check). Finally, make a wallet for the second signer using the second xprv and the other two xpub addresses.

@jamelna
Copy link
Author

jamelna commented Sep 10, 2017

I'm sorry, new to this. And by the way, really appreciate your time and information. I followed those steps and was able to require the amounts to the 2 different wallets. I

@pooler
Copy link
Owner

pooler commented Sep 10, 2017

@joeamelendez, is the problem resolved then? If so, please close the issue.

@RAdson7
Copy link

RAdson7 commented Feb 7, 2018

Just did it what you recommended wit coment and pooler you save my day. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants