shesek / spark-wallet

⚡️ A minimalistic wallet GUI for c-lightning, accessible over the web or through mobile and desktop apps.
MIT License
341 stars 75 forks source link

Add "connect" option #175

Open BullishNode opened 3 years ago

BullishNode commented 3 years ago

Add connect option to connect to a node without opening a channel

Use-case: this is required by Bitrefill to open a channel with you after buying channel capacity from them

shesek commented 3 years ago

This definitely makes sense, I will look into adding this.

In the meanwhile, you could do this manually via the RPC console. Enable 'expert mode' by tapping the version number on the bottom left, then open the RPC console and execute connect <nodeid>@<host>:<port>.