Bitcoin Forum
May 12, 2024, 01:15:14 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to create Lightning Network Channel- TestNet  (Read 178 times)
RapTarX (OP)
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
November 20, 2019, 08:45:25 AM
Merited by LoyceV (1)
 #1

I have received a small amount of testnet BTC for testing Lightning Network. I'm using Eclair to figure out how LN works.
How can I create a channel. I guess for testnet, the node are different. I have tried with a main net node which says "Can't create channel".
My balance is ~0.002 BTC. Would appreciate if someone help me to learn the Lightning Network on testnet. Was suggested by BitCryptex to use the testnet.
By the way, why don't you try out the Lightning Network? You can download Eclair Mobile Testnet from the Play Store if you have an Android device. No risk involved.

Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7137



View Profile
November 20, 2019, 08:51:02 AM
 #2

See if this helps > https://bitcointalk.org/index.php?topic=2833635.0
It is quite a big post but you should get the info you need from there.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4922


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
November 20, 2019, 08:51:43 AM
Merited by Rath_ (2), RapTarX (1)
 #3

I've actually posted a video walktrough for the mainnet on one of my sites:
https://unblur.ninja/walktrough_eclair_android.php

It's for an older version of eclair, and you'll need to find a testnet node to connect to, but the main steps should be more or less the same.

If you have specific questions/problems, don't hesitate to ask!

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
November 20, 2019, 08:51:46 AM
 #4

I guess for testnet, the node are different. I have tried with a main net node which says "Can't create channel".

You're right. You can't connect with a mainnet client to a testnet node and vice-versa. Use the testnet version of 1ml.com to choose an appropriate node. Once your channel is active, you can try to spend your coins on a coffee or an article.

LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16637


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 20, 2019, 09:23:26 AM
Merited by AB de Royse777 (1), RapTarX (1)
 #5

How can I create a channel. I guess for testnet, the node are different. I have tried with a main net node which says "Can't create channel".
I think you're overthinking it. I've used it, and this is what I did:
1. Install Eclair Mobile Testnet on Android.
2. Click Channels.
3. Click the green + on the bottom-right corner.
4. Open a channel to ACINQ NODE (tick "Request liquidity from this node", this has a fee but it's on Testnet anyway)

If you want to test it, feel free to post a (small) payment request. You'll need to select "Enable receive over Lightning" under Settings first.

RapTarX (OP)
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
November 20, 2019, 01:45:34 PM
 #6

4. Open a channel to ACINQ NODE (tick "Request liquidity from this node", this has a fee but it's on Testnet anyway)
It works  Cheesy I have created a channel with ACINQ Node (Had no idea what it is and that's why I didn't try with it.). Successfully created a channel but it says I can receive 0 BTC while I can send the amount I have entered with - Minimum Channel Reserve. I have attached an image below.


Quote
If you want to test it, feel free to post a (small) payment request. You'll need to select "Enable receive over Lightning" under Settings first.
Since I can't receive, I would love if you create a payment request and I would test it for the first time. Please make sure the payment request expiration is maximum (is it 6 hours?).

Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
November 20, 2019, 01:53:53 PM
Merited by RapTarX (1)
 #7

Successfully created a channel but it says I can receive 0 BTC while I can send the amount I have entered with - Minimum Channel Reserve. I have attached an image below.

I have already mentioned it in my yesterday's reply to your guide. It's completely normal. You can't receive payments over the LN if you don't spend anything. You can't have more coins in the channel than its initial balance. You have to spend amount matching the channel reserve in order to be able to receive payments. You can read an easier to understand explanation here.
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16637


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 20, 2019, 02:09:02 PM
 #8

Successfully created a channel but it says I can receive 0 BTC
That's why I said you should "Request liquidity from this node".

Quote
Since I can't receive, I would love if you create a payment request and I would test it for the first time.
Even easier: order a Blockaccino at Starblocks!

RapTarX (OP)
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
November 20, 2019, 02:21:18 PM
Last edit: November 20, 2019, 02:37:06 PM by RapTarX
 #9

I paid, I did with Lightning Network. It's really an exciting feeling.



That's why I said you should "Request liquidity from this node".
I did tick that option; what if I didn't tick that?

Quote
Even easier: order a Blockaccino at Starblocks!
Fucking awesome. It was instant, within second. I can't imagine that it can be such faster while with maximum fees we had to wait 10 minutes at least.

A payment request-



Let me know if it's enough small, otherwise, I will create another.

I've sent 1000 satoshi. For future real use: you shouldn't post your balance Tongue

You can get 0.01 tBTC here, so you can open another channel and get incoming capacity.
I received it successfully, thanks a lot for helping me. Thanks for the suggestion. It was a great experience indeed. Now, I will check it a little more and try with main net with the gambling site you mentioned in other thread.

LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16637


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 20, 2019, 02:32:21 PM
 #10

Let me know if it's enough small, otherwise, I will create another.
I've sent 1000 satoshi. For future real use: you shouldn't post your balance Tongue

You can get 0.01 tBTC here, so you can open another channel and get incoming capacity.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!