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

[Support] Will unilaterall close (force-close) of the Eclair-created channel from the remote (LND) side make funds appear on regular on-chain address of the Eclair-generated seed? #258

Open
Talkless opened this issue Dec 26, 2020 · 7 comments

Comments

@Talkless
Copy link

Relative of mine had Eclair wallet with some funds on-chain and some on LN channel.

That phone is now dead.

He has recovery phrase, recovered into another (BlueWallet, iOS) wallet, but sees on-chain funds only (obviously).

LN Google Drive backup is not found in Eclair installed on Android VM - probably forgot to enable Google Drive backup...

Now, useful fact is that his LN funds are locked in the channel with my LND node.

Question: if I perform force-close (getting my part after 2016 blocks) from LND side, will his balance will be sent to his "regular" on-chain address that will be visible on that other on-chain wallet? Or that force-close address is some sort specific, "LN-related", from different derivation path (or whatever)?

Thanks!

@t-bast
Copy link
Member

t-bast commented Dec 28, 2020

Restoring the seed in a different lightning wallet will not work for off-chain funds.
See https://github.com/ACINQ/eclair/blob/b75f6c36e9bab8b77702e16f2514d9accc47cd8d/eclair-core/src/main/scala/fr/acinq/eclair/Setup.scala#L183 for recovering the on-chain funds.

To recover the off-chain funds, you need to restore the seed in eclair-mobile, that will tell your peer to close the channel and you'll get the funds back on-chain.

@t-bast
Copy link
Member

t-bast commented Dec 28, 2020

If you do the force-close from your lnd node, the result will be the same.
But your friend will need an eclair-mobile running to correctly claim his output of the commitment tx to his "regular" on-chain address.

@t-bast
Copy link
Member

t-bast commented Dec 28, 2020

LN Google Drive backup is not found in Eclair installed on Android VM

Note that if there's really no backup recovery possible at all, you may need to use https://github.com/ACINQ/eclair-recovery-tool to recover the main output.

@dpad85
Copy link
Member

dpad85 commented Dec 28, 2020

LN Google Drive backup is not found in Eclair installed on Android VM - probably forgot to enable Google Drive backup...

Did he check his Google Drive folder? Backup will be in a folder named eclair-mobile in his Drive documents :

image

@Talkless
Copy link
Author

....to correctly claim...

OK so that's what I wanted to know - you need to perform one more tx to claim. That obviously needs LN info..

you may need to use https://github.com/ACINQ/eclair-recovery-tool to recover the main output.

That link does not work and searching manually does not help.

@t-bast
Copy link
Member

t-bast commented Dec 29, 2020

That link does not work and searching manually does not help.

Woops you're right, that's a branch in eclair at the moment: ACINQ/eclair#1197

Can you double-check the google drive backup? That would be the easy solution to recover the funds, otherwise we'll look into the recovery tool option.

@Talkless
Copy link
Author

Talkless commented Jan 9, 2021

Can you double-check the google drive backup?

Yes, he said he is completely positive that there's no Eclair backup. He will try building Eclair after exams.

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