Pages:
Author

Topic: Electrum Lightning Network walkthrough - page 3. (Read 4932 times)

legendary
Activity: 1512
Merit: 7340
Farewell, Leo
September 12, 2021, 01:37:01 AM
Thank you, nc50lc! It worked.  Smiley
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
September 11, 2021, 10:24:53 PM
What has happened with the swap feature? My channel's capacity has 0.049 tBTC, but I cannot receive anything. I'm trying to swap the lightning funds with on-chain funds to increase my receiving capacity, but it only allows me up to 0.002.
-snip-
Is this a bug? Is there any other way I can increase my receiving capacity in Electrum?
I think it's because the swap service provider (swap server) can only accept 0.002tBTC per swap:
BTW, Boltz have a testnet swap but unfortunately, I haven't successfully sent lightning tBTC to it yet using channel connected to "endurance" (Electrum 'trampoline' channel for testnet).
legendary
Activity: 1876
Merit: 3132
September 11, 2021, 02:44:07 PM

I opened a channel to ion.radar.tech but it had been stuck in "REESTABLISHING" state for quite some time so I force-closed it and I will try opening a channel to some other node tomorrow.
legendary
Activity: 1876
Merit: 3132
September 11, 2021, 11:58:22 AM
What kind of swap services do you have in mind? Is there a website?

Here are the ones that I would consider using on the mainnet: Boltz, Lightning Conductor, ZigZag. Unfortunately, none of them supports testnet swaps directly from their website.

What node did you open your channel to?
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
September 11, 2021, 11:43:17 AM
You can simply spend some coins or use some other swap service. I don't think that many of them support the testnet, though.

I want to spend between my wallets and not to lose the coins. What kind of swap services do you have in mind? Is there a website?
legendary
Activity: 1876
Merit: 3132
September 11, 2021, 11:36:06 AM
I'm trying to swap the lightning funds with on-chain funds to increase my receiving capacity, but it only allows me up to 0.002.

Since the service is managed by an external provider, they might have run out of coins on the testnet. Give me a couple of minutes and I will test it.

Is there any other way I can increase my receiving capacity in Electrum?

You can simply spend some coins or use some other swap service. I don't think that many of them support the testnet, though.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
September 11, 2021, 11:07:55 AM
What has happened with the swap feature? My channel's capacity has 0.049 tBTC, but I cannot receive anything. I'm trying to swap the lightning funds with on-chain funds to increase my receiving capacity, but it only allows me up to 0.002.


Is this a bug? Is there any other way I can increase my receiving capacity in Electrum?
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
Check out the following quote. I believe that's why you are unable to open a channel.
Didn't know about that. What does it mean that the funding addresses are arbitrary? I'm not sure that I've understood. EPS allows you to enter a master public key and it should derive from there, whether the lightning channels fund arbitrarily or not.

Is there any particular reason why you chose EPS over ElectrumX?
First one that comes into my mind, you can run a pruned EPS. In ElectrumX, it has to be a full node.
newbie
Activity: 3
Merit: 1
For security/trust purposes I only connect to my own Electrum Server (EPS) instance. Is there anything specific I could tweak via CLI or config file editing?

Check out the following quote. I believe that's why you are unable to open a channel.

Please note that Electrum Personal Server (EPS) cannot be
     used with lightning wallets, because channels funding addresses
     are arbitrary.

Is there any particular reason why you chose EPS over ElectrumX?

I meant to say I run Electrum Rust Server v0.8.9 (so a full Electrum server) . It's the one that came with my Nodl node as it's best recommended or Pi performance reasons.
legendary
Activity: 1876
Merit: 3132
For security/trust purposes I only connect to my own Electrum Server (EPS) instance. Is there anything specific I could tweak via CLI or config file editing?

Check out the following quote. I believe that's why you are unable to open a channel.

Please note that Electrum Personal Server (EPS) cannot be
     used with lightning wallets, because channels funding addresses
     are arbitrary.

Is there any particular reason why you chose EPS over ElectrumX?
newbie
Activity: 3
Merit: 1
I'm seeing this error in Electrum UI when trying to open a LN channel (after trying any trampoline method in the drop down menu: ACINQ, Electrum trampolin, trampoline hodlisterco)

There seems to be something wrong with your server's fee estimation. Try connecting to a different Electrum server. Click on the green dot in the bottom-right corner, right-click on some server and select "Use as server". Electrum should also connect to a different server on each restart.

For security/trust purposes I only connect to my own Electrum Server (EPS) instance. Is there anything specific I could tweak via CLI or config file editing?
(I'm able to send regular on-chain payments and adjust fees accordingly so issue is only present with LN.)
legendary
Activity: 1876
Merit: 3132
I'm seeing this error in Electrum UI when trying to open a LN channel (after trying any trampoline method in the drop down menu: ACINQ, Electrum trampolin, trampoline hodlisterco)

There seems to be something wrong with your server's fee estimation. Try connecting to a different Electrum server. Click on the green dot in the bottom-right corner, right-click on some server and select "Use as server". Electrum should also connect to a different server on each restart.
newbie
Activity: 3
Merit: 1
I'm seeing this error in Electrum UI when trying to open a LN channel (after trying any trampoline method in the drop down menu: ACINQ, Electrum trampolin, trampoline hodlisterco)

Quote
Could not open channel: Exception("Remote peer reported error [DO NOT TRUST THIS MESSAGE]: b'local/remote feerates are too different: remoteFeeratePerKw=253 localFeeratePerKw=9978'")

Moving the fee slider all the way to the right produced barely higher remoteFeerateperKw amounts so not sure how to get past this issue.

Any helpful pointers are much appreciated.
member
Activity: 122
Merit: 21
Re
Thank you for your follow-up. I understand that the lightning network is not the best solution.
I have opened a new thread so as not to disturb this discussion thread.
Thank you for helping me there  Cheesy !
https://bitcointalksearch.org/topic/m.56986167
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
I need to bring more anonymity for small recurrent needs of bitcoin exchange of small amounts (10$~100$)
If you want anonymity then Bitcoin isn't your thing. You should use Monero. Not to mention that the fees are high for transferring small amounts of BTC. If you just want privacy, then use CoinJoin or mix them.

1/ annual recurring purchase on a website for a service
This can happen on LN, but once in a year? It's too long and your provider must accept LN payments. I guess, though, that it can work, it's just not worth it.

2/ balancing (non recurring) a few times a year of purchase (or receipt of donation) on a wallet with btc chains that are published on the bitcoin network to transfer them between my different wallets
I'll need you to explain further this one. I haven't understood a thing.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
Really no interest in either case?
if NO, what would you see as a solution for these 2 cases?
I see, it's just a few times or once a year, so just time them when the average fee rate is low (like now for example).
There's no advantage on using lightning for those use-case, as the matter of fact, the other party might close your channel due to inactivity before you can even perform your next transaction.
member
Activity: 122
Merit: 21
Thank you for your quick answers. If this is correct, I am less enthusiastic about this network. I need to bring more anonymity for small recurrent needs of bitcoin exchange of small amounts (10$~100$):
1/ annual recurring purchase on a website for a service
2/ balancing (non recurring) a few times a year of purchase (or receipt of donation) on a wallet with btc chains that are published on the bitcoin network to transfer them between my different wallets

Really no interest in either case?
if NO, what would you see as a solution for these 2 cases?

legendary
Activity: 1512
Merit: 7340
Farewell, Leo
To transfer an amount between my 2 wallets, if I understand correctly the lightniht network is the best way to minimize fees AND the fastest?

No, because of the bold part. If you want to make one transfer, the lightning network won't reduce you fees. It can be used if you want to make many micro-payments between two wallets. The transactions that open and close the lightning channel happen on-chain and thus, you'll have to pay for both of them normally. It reduces the fees of the intervening TXs. So if you just want to make one transaction between two wallets, LN won't assist you.

Essentially, LN helps two parties decide the final balance of who gets what, after lots of transactions. It's very practical thought. There's no point on clogging the block chain with lots of transactions.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
Hello
To transfer an amount between my 2 wallets, if I understand correctly the lightniht network is the best way to minimize fees AND the fastest?
Both wallets should have an open channel before they can send Bitcoins through lightning, and the receiver should've some "receiving capacity".
In your case, it's less advisable to use lightning since you'll have to open a channel on both wallets and create inbound capacity to "Wallet B".

You may consider sending on-chain right now while the average fee is very low.
Current priority fee is 2-3 sat/vB.

Lightning is best used for small recurrent transactions.
Pages:
Jump to: