Author

Topic: Electrum wallet and Lightning Node (Read 277 times)

hero member
Activity: 1274
Merit: 681
I rather die on my feet than to live on my knees
October 03, 2020, 06:58:22 PM
#13
Ok...

In the meantime I was reading the game rules to receive payments.

There is one that says:

Quote
3.2) You are required to have a Bitcoin wallet with Lightning Network support installed on the same device to which you collect tickets. Privacy rules apply and subject to data protection and our Privacy Policy which can be found here.

This will probably kill my changes to avoid installing 3r party wallets, no?
legendary
Activity: 1876
Merit: 3139
October 03, 2020, 06:25:45 PM
#12
do you actually mean to "fund the channel"?? Is it the same thing?

"To open a channel" means the same as "to fund a channel". Making space for the incoming funds is a different thing. By the way, if someone opened a channel with you, you wouldn't need to spend any coins in order to receive because the coins would be on the other party's side of the channel.

Also, when you say I need to connect to some other node, this isfor the network to route the payments, right? So, the more nodes I'm connected to, the better, because I'll increase my chances of a succeeding payment, yes?

Yes. You also should pay attention to how well those nodes are connected to the rest of the network. The more channels they have, the more likely your payment is to succeed. Also, c-lightning can split large payments into smaller ones and send them through different routes. Electrum can't do that.
hero member
Activity: 1274
Merit: 681
I rather die on my feet than to live on my knees
October 03, 2020, 06:10:52 PM
#11
I'm actually on that thread creating a new reply with a few questions!

I think I'll keep questions regarding the game and the way I can receive payments, here.

Like, I know I have to open up a channel and fund the channel to be able to receive any coins.
Sometimes wording make things harder to understand.

When you say:

Quote
you have to open a channel with some other node and spend some coins so that you can receive

do you actually mean to "fund the channel"?? Is it the same thing?
Also, when you say I need to connect to some other node, this isfor the network to route the payments, right? So, the more nodes I'm connected to, the better, because I'll increase my chances of a succeeding payment, yes?

 
legendary
Activity: 1876
Merit: 3139
October 03, 2020, 05:38:57 PM
#10
Turbo 84. In this case, is an Android game.

Once you are able to claim your reward, the game will ask you to provide a payment invoice. Both Electrum and your c-lightning node are able to generate it. As I mentioned earlier, first, you have to open a channel with some other node and spend some coins so that you can receive (check out the FAQ for explanation). This node belongs to the developer of the game. You can also choose a node from here; it's sorted by the channel count.

Sure. It's more about connecting to nodes, opening channels and etc.

That's fine. We have already answered plenty of such questions there.
hero member
Activity: 1274
Merit: 681
I rather die on my feet than to live on my knees
October 03, 2020, 05:11:19 PM
#9
I need to know if I can use Electrum to interact with the game. Not sure how am I going to do this. Or even if I can use my node directly.

What game are you referring to? I should be able to tell you if it's going to work if you tell me its name.

Turbo 84. In this case, is an Android game.
https://play.google.com/store/apps/details?id=com.thndrgames.turbo84

I still have quite a few questions about Lightning Network and about a few details. I think the questions I have, will not be answered in the internet, straight forward. So either I get someone's help or I'll have to read 10x what I was supposed to read an also experiment, etc!

Feel free to ask those questions in the Lightning Network FAQ thread. Quite a few people watch that topic.

Sure. It's more about connecting to nodes, opening channels and etc.

Thanks
legendary
Activity: 1876
Merit: 3139
October 03, 2020, 05:00:09 PM
#8
I need to know if I can use Electrum to interact with the game. Not sure how am I going to do this. Or even if I can use my node directly.

What game are you referring to? I should be able to tell you if it's going to work if you tell me its name.

I still have quite a few questions about Lightning Network and about a few details. I think the questions I have, will not be answered in the internet, straight forward. So either I get someone's help or I'll have to read 10x what I was supposed to read an also experiment, etc!

Feel free to ask those questions in the Lightning Network FAQ thread. Quite a few people watch that topic.
hero member
Activity: 1274
Merit: 681
I rather die on my feet than to live on my knees
October 03, 2020, 04:14:42 PM
#7
And as I have Electrum already installed, I was trying to avoid to install more stuff.

If that's the case then you can use Electrum without installing any additional software. I thought that you necessarily wanted to use your c-lightning node. I wrote a walkthrough of Lighting Network support in Electrum. You might find it useful.

I'll give it a read. Thank you.

I doubt I can connect the game directly to my LN node and be able to receive the sats directly to my node in some way.

You can use your Lightning Network node to receive payments but you need to open a channel first with some well-connected node (or directly with the game's node) and make room for the incoming funds by spending some coins over the LN. The same applies to Electrum which might be easier for you to use. You seem to be a bit confused about how the Lightning Network works.

Not going to lie. I recently started to learn about Lightning Network. But things are going slowly as I'm also learning socket programming in C and a few other things. So, time is scarce.



I am currently rewriting the "Basics of The Lightning Network" thread but it should still be helpful.

Ok, I'll stop buy and read.

I need to know if I can use Electrum to interact with the game. Not sure how am I going to do this. Or even if I can use my node directly.

I still have quite a few questions about Lightning Network and about a few details. I think the questions I have, will not be answered in the internet, straight forward. So either I get someone's help or I'll have to read 10x what I was supposed to read an also experiment, etc!
legendary
Activity: 1876
Merit: 3139
October 03, 2020, 02:03:12 PM
#6
And as I have Electrum already installed, I was trying to avoid to install more stuff.

If that's the case then you can use Electrum without installing any additional software. I thought that you necessarily wanted to use your c-lightning node. I wrote a walkthrough of Lighting Network support in Electrum. You might find it useful.

I doubt I can connect the game directly to my LN node and be able to receive the sats directly to my node in some way.

You can use your Lightning Network node to receive payments but you need to open a channel first with some well-connected node (or directly with the game's node) and make room for the incoming funds by spending some coins over the LN. The same applies to Electrum which might be easier for you to use. You seem to be a bit confused about how the Lightning Network works.


I am currently rewriting the "Basics of The Lightning Network" thread but it should still be helpful.
hero member
Activity: 1274
Merit: 681
I rather die on my feet than to live on my knees
October 03, 2020, 01:34:07 PM
#5
Is it possible to connect Electrum wallet to my own Lightning Node?

If you want to manage your node using Electrum then it is not possible. Lightning Network support in Electrum is a standalone implementation written in Python. Spark Wallet can connect to a c-lightning node and provide basic functionality (channel management, sending and receiving payments). It is available for Windows, Linux, Mac and Android.

If you want to open a channel with your node then you need your node's id and IP address. Keep in mind that all of your payments will fail if you don't have any open channels with other people on your c-lightning node.


Hum, ok.

The thing is that I installed a small game that pays a couple of sats via LN but it needs some LN wallet. And as I have Electrum already installed, I was trying to avoid to install more stuff.
So, I guess I don't have another way but install some 3rd party wallet, I guess. I doubt I can connect the game directly to my LN node and be able to receive the sats directly to my node in some way.
legendary
Activity: 1876
Merit: 3139
October 02, 2020, 05:33:48 PM
#4
Is it possible to connect Electrum wallet to my own Lightning Node?

If you want to manage your node using Electrum then it is not possible. Lightning Network support in Electrum is a standalone implementation written in Python. Spark Wallet can connect to a c-lightning node and provide basic functionality (channel management, sending and receiving payments). It is available for Windows, Linux, Mac and Android.

If you want to open a channel with your node then you need your node's id and IP address. Keep in mind that all of your payments will fail if you don't have any open channels with other people on your c-lightning node.
hero member
Activity: 1274
Merit: 681
I rather die on my feet than to live on my knees
October 02, 2020, 03:44:15 PM
#3
What you mean to connect? Connect your c-lightning node as one peer, or make the two nodes act as one?

I mean instead of using other wallets like wallet of satoshi or Bluewallet or so, just use my (already) installed Electrum.
newbie
Activity: 14
Merit: 24
October 02, 2020, 03:42:01 PM
#2
What you mean to connect? Connect your c-lightning node as one peer, or make the two nodes act as one?
hero member
Activity: 1274
Merit: 681
I rather die on my feet than to live on my knees
October 02, 2020, 03:02:42 PM
#1
Hello.

Is it possible to connect Electrum wallet to my own Lightning Node? IF so, how? Are there any tutorials/docs on how to do it in Debian/Linux Huh
I'm running a BTC full node with and c-lightning implementation of Lightning Network, from Elements Project.
Jump to: