Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

[question] does eclair mobile accept incoming channels ? #154

Open
enorrmann opened this issue Feb 24, 2019 · 2 comments
Open

[question] does eclair mobile accept incoming channels ? #154

enorrmann opened this issue Feb 24, 2019 · 2 comments

Comments

@enorrmann
Copy link

I'm testing eclair mobile with a local lnd testnet node ..
I can open a channel and connect from eclair app to my lnd node
but if I try to open a channel with eclair's node id from lnd side, I can not connect ..
is this a bug or it is just the correct bahaviour ?

@sstone
Copy link
Member

sstone commented Feb 25, 2019

It depends if your mobile phone already has an active channel with your other node or not.

In general, your mobile IP address will change very often and your phone will be offline very often, so all mobile channels are private (not advertised) and opening a channel to a mobile phone does not make much sense.

But if your phone already has a channel to a LN node, then that node knows how to reach it and should be able to open a channel to it by just reusing the same underlying connection. Both channels (mobile -> lnd and lnd -> mobile) will be offline and online at the same time: as soon as your mobile reconnects, your lnd node knows how to reach it and should also restore the channel that it created.

For example this is something that we use provide inbound liquidity to mobile users and enable them to receive funds: you open a channel to us and we open a channel back to you.

@enorrmann
Copy link
Author

For example this is something that we use provide inbound liquidity to mobile users and enable them to receive funds: you open a channel to us and we open a channel back to you.

This is exactly what I was trying to do, but without having to open a channel from the app side, or even to fund the eclair wallet first.

and opening a channel to a mobile phone does not make much sense.

I think this makes sense if the user is new to the btc world and only wants to try to make some payments using this wallet.
In this case, somebody can "sell" a pre-funded channel to the eclair wallet, with balance on both sides.

It is like acinq's "sell liquidity" feature, but without having to open a channel first.

Perhaps from the eclair side user can "connect" to a node without having to open a channel first. So in this way the node will know where to open the pre-funded channel.

Also, I've found some similar functionality in the Bitrefill's "buy inbound channel", that works with lightning-wallet .. but in this case, you can only buy a channel with inbound capacity, but no local balance to spend.

I want to combine the best of that two features into a single "buy a channel with balance on both sides".. if that makes sense

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

No branches or pull requests

2 participants