Bitcoin Forum
May 13, 2024, 03:49:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: Sent Litecoin to Bitcoin Address, How to recover?  (Read 730 times)
aarons6
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006


View Profile
August 06, 2019, 04:20:18 AM
 #41

For basic P2PKH addresses (Bitcoin '1', Litecoin 'L') it should be possible to recover the funds by copying the private key from the Bitcoin wallet to the Litecoin wallet.

The catch is that keys in Wallet Interchange Format (WIF) will look very different between the two networks, even though the decoded raw bytes are the same. You (or rather, the recipient, the customer) would need to export from Bitcoin, convert Bitcoin to Litecoin WIF, and import into Litecoin.

This is what the same private key looks like on both Bitcoin and Litecoin:

BITCOIN
Private key hex: 0000000000000000000000000000000000000000000000000000000000000001
Private key WIF: KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73sVHnoWn
Public key hex: 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
HASH160 hex: 751e76e8199196d454941c45d1b3a323f1433bd6
Address: 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH

LITECOIN
Private key hex: 0000000000000000000000000000000000000000000000000000000000000001
Private key WIF: T33ydQRKp4FCW5LCLLUB7deioUMoveiwekdwUwyfRDeGZm76aUjV
Public key hex: 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
HASH160 hex: 751e76e8199196d454941c45d1b3a323f1433bd6
Address: LVuDpNCSSj6pQ7t9Pv6d6sUkLKoqDEVUnJ

Note that only the WIF and Address fields differ, and that's only because they are in base58check format, which uses a prefix specifically for the network. Internally to each client they are using exactly the same numbers, regardless of the network.

Script for sending to Bitcoin address 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH: DUP HASH160 PUSHDATA(20)[751e76e8199196d454941c45d1b3a323f1433bd6] EQUALVERIFY CHECKSIG

Script for sending to Litecoin address LVuDpNCSSj6pQ7t9Pv6d6sUkLKoqDEVUnJ: DUP HASH160 PUSHDATA(20)[751e76e8199196d454941c45d1b3a323f1433bd6] EQUALVERIFY CHECKSIG

(They're identical. Both addresses map to the hex sequence 751e76e8199196d454941c45d1b3a323f1433bd6 internally.)

---

It's probably also worth considering that some of the more tech savvy customers may have already 'recovered' their funds on the Litecoin network, even after complaining to the OP and being compensated in Bitcoin.

so in basic terms, if you send bitcoin to a litecoin address, its possible you can use the bitcoin private key to generate the litecoin wallet with the bitcoin in it? but you still wont get your bitcoin back?? you will now have some litecoin.
or am i reading that wrong? or could you then sign the litecoin wallet and send your bitcoin back to yourself? will the core allow that?

it really seems that when altcoins were created, they core devs should have patched in a check that would make invalid tx's fail and those coins bounced back..
1715572157
Hero Member
*
Offline Offline

Posts: 1715572157

View Profile Personal Message (Offline)

Ignore
1715572157
Reply with quote  #2

1715572157
Report to moderator
1715572157
Hero Member
*
Offline Offline

Posts: 1715572157

View Profile Personal Message (Offline)

Ignore
1715572157
Reply with quote  #2

1715572157
Report to moderator
1715572157
Hero Member
*
Offline Offline

Posts: 1715572157

View Profile Personal Message (Offline)

Ignore
1715572157
Reply with quote  #2

1715572157
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715572157
Hero Member
*
Offline Offline

Posts: 1715572157

View Profile Personal Message (Offline)

Ignore
1715572157
Reply with quote  #2

1715572157
Report to moderator
1715572157
Hero Member
*
Offline Offline

Posts: 1715572157

View Profile Personal Message (Offline)

Ignore
1715572157
Reply with quote  #2

1715572157
Report to moderator
voltesbit777
Sr. Member
****
Offline Offline

Activity: 910
Merit: 251


View Profile
August 06, 2019, 05:30:18 AM
 #42

I Own a Bitcoin ATM company and a lot of my customers click on litecoin when they really want to buy bitcoin, they scan their Bitcoin wallet and insert cash. The machine just sends Litecoin to bitcoin address and now the money is stuck. Is there a way to recover it? Can we share some video link with them that they can use to get their funds?

Well, I guess its 100% there's no chance for you to recover it. Because I always saw in the exchange that every time you deposit or withdraw there is a reminders often there that once you send it to different address it won't recover anymore, so same goes with you case mate.
almightyruler
Legendary
*
Offline Offline

Activity: 2268
Merit: 1092


View Profile
August 06, 2019, 06:12:40 AM
Last edit: August 18, 2019, 08:58:33 AM by almightyruler
Merited by vapourminer (1)
 #43

For basic P2PKH addresses (Bitcoin '1', Litecoin 'L') it should be possible to recover the funds by copying the private key from the Bitcoin wallet to the Litecoin wallet.

so in basic terms, if you send bitcoin to a litecoin address, its possible you can use the bitcoin private key to generate the litecoin wallet with the bitcoin in it? but you still wont get your bitcoin back?? you will now have some litecoin.
or am i reading that wrong? or could you then sign the litecoin wallet and send your bitcoin back to yourself? will the core allow that?

The former is correct. A private key is just a sequence of 32 bytes, and a public key hash (which the address is derived from) is just a sequence of 20 bytes, so it's up to the client software to check that the key and address are associated with the correct network. As stated above, internally the representation does not use anything identifying the network; it's only when base58 encoding a "human readable" address or WIF privkey that the network prefix is added.

This is explained (in some detail) at https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses . Steps 4 to 9 are solely for converting the internal 20 byte public key hash to base58 format, which does denote the correct network, but the client (and blockchain) only use the result of step 3, which has no network information attached.

This means it's possible to use the same private key across multiple coins/blockchains (a brainwallet is one example of doing this) but of course the funds cannot be sent across blockchains.

it really seems that when altcoins were created, they core devs should have patched in a check that would make invalid tx's fail and those coins bounced back..

Bitcoin Core (and most likely Litecoin Core) does check that the address is valid when you attempt to send funds, so something else in the ATM system is decoding that address without verifying it is valid for the currency the user has selected. Since the ATM supports multiple currencies, it probably uses custom software. Or maybe it just phones home to a backend that does everything. Either way, it seems something is blindly decoding the receive address without checking that the first byte matches the network the user has selected.
MbakNarti
Sr. Member
****
Offline Offline

Activity: 679
Merit: 254


View Profile
August 06, 2019, 08:40:13 AM
 #44

I Own a Bitcoin ATM company and a lot of my customers click on litecoin when they really want to buy bitcoin, they scan their Bitcoin wallet and insert cash. The machine just sends Litecoin to bitcoin address and now the money is stuck. Is there a way to recover it? Can we share some video link with them that they can use to get their funds?

May I know how much amount losses because of this tragedy?
Seems quite difficult to recover their funds.
Maybe you need to contact the Litecoin team, this is the best thing to help to recover their funds
adaseb
Legendary
*
Offline Offline

Activity: 3752
Merit: 1710



View Profile
August 06, 2019, 08:45:10 AM
 #45

For new people it can be very confusing which coin to buy. Litecoin and Bitcoin actually have 2 very different names at least. But there were some bitcoin services (i think on bitcoin.com) where you were given the option to buy Bitcoin Cash or Bitcoin Core. And most people selected the first one and had it sent to a Bitcoin address instead of BCH address. I am sure they did a software update and the prefix is different to avoid confusion but initially right after the fork many people had this issue.

Same with the Bitcoin ATM. Most people might get confused, pick the wrong coin and get it sent to the wrong network. Hence like others have said here, you should put in a check for this to prevent it from happening or you will get angry customers all the time.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
Spaffin
Full Member
***
Offline Offline

Activity: 1316
Merit: 108



View Profile WWW
August 06, 2019, 08:24:16 PM
 #46

If you study this situation deeply enough, it becomes clear that all the funds that you sent to the wallet address, which is related to a completely different coin, this can only mean one thing.  You will lose everything that you sent.  This is the case with erc 20 coins, the situation is much better, but not with altcoin and bitcoin.

FXBOX    [TelegramTwitter ]  ▞  GAMEFI  ◼  NFT  ◼  DEFI  ◼  CURRENCY TRADING
██████████████████  PLAY 2 EARN FINANCIAL GAMES  ██████████████████
INVESTINGTRADINGLOTTERYMARKET PREDICTIONS     ◖ READ MORE
almightyruler
Legendary
*
Offline Offline

Activity: 2268
Merit: 1092


View Profile
August 06, 2019, 09:27:32 PM
 #47

If you study this situation deeply enough, it becomes clear that all the funds that you sent to the wallet address, which is related to a completely different coin, this can only mean one thing.  You will lose everything that you sent.  This is the case with erc 20 coins, the situation is much better, but not with altcoin and bitcoin.

Are people even reading replies in this thread? I stated above exactly how the funds can be recovered.
Pages: « 1 2 [3]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!