Bitcoin Forum
December 08, 2022, 10:00:17 AM *
News: Reminder: do not keep your money in online accounts
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can I connect lightning network wallet to main blockchain?  (Read 151 times)
SOKO-DEKE (OP)
Member
**
Offline Offline

Activity: 111
Merit: 52


View Profile
September 22, 2022, 09:18:11 AM
Merited by BlackHatCoiner (4)
 #1



If I decided to be using lightning network channel, after I have gotten my appropriate wallet for it. How will I now connect my wallet or will the wallet automatically connected main blockchain?

Secondly must recipient also be on lightning network channel before the transaction can take place.?

▬▬▬▬ ▬▬▬▬ ▬▬▬▬ ▬▬▬▬ ▬▬▬▬         W i n z . i o         ▬▬▬▬ ▬▬▬▬ ▬▬▬▬ ▬▬▬▬ ▬▬▬▬
[   100% DEPOSIT BONUS   ]     ●●●●●       Every BTCit of Fun       ●●●●●     [     +$20 RISK-FREE BET     ]
█████████████████████████ ██│        BET NOW        │██ █████████████████████████
1670493617
Hero Member
*
Offline Offline

Posts: 1670493617

View Profile Personal Message (Offline)

Ignore
1670493617
Reply with quote  #2

1670493617
Report to moderator
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1670493617
Hero Member
*
Offline Offline

Posts: 1670493617

View Profile Personal Message (Offline)

Ignore
1670493617
Reply with quote  #2

1670493617
Report to moderator
1670493617
Hero Member
*
Offline Offline

Posts: 1670493617

View Profile Personal Message (Offline)

Ignore
1670493617
Reply with quote  #2

1670493617
Report to moderator
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1820
Merit: 3027


Write @Rath or quote my post to notify me


View Profile WWW
September 22, 2022, 11:56:32 AM
 #2

If I decided to be using lightning network channel, after I have gotten my appropriate wallet for it. How will I now connect my wallet or will the wallet automatically connected main blockchain?

Every Lightning-compatible wallet has its own Bitcoin wallet. You have to fund it before opening any channels. When you open a channel, some of your coins will be moved to a multi-signature address controlled by you and your channel partner. This involves a Bitcoin transaction.

Secondly must recipient also be on lightning network channel before the transaction can take place.?

If the other person has a Lightning node/wallet then you should be able to send a payment, but:

1) if you have a channel with that person then the transaction will be instantaneous and free of charge,
2) if you have a channel with some other person then the transaction will be routed through other nodes, as long as there is a path between you and the payee. You will very likely pay a fee, which is negligible for low-value transactions.

In both cases, the payment might failed due to lack of liquidity; it's a more complex topic. Let me know if you are keeping up so far.

If the other person does not have any Lightning channels, you can do a submarine swap. There are third-party services that will accept your Lightning transaction and send an on-chain transaction to the provided address.

nc50lc
Legendary
*
Offline Offline

Activity: 1890
Merit: 3914


Self-proclaimed Genius ㊙️


View Profile
September 22, 2022, 02:08:41 PM
 #3

If I decided to be using lightning network channel, after I have gotten my appropriate wallet for it. How will I now connect my wallet or will the wallet automatically connected main blockchain?
So you haven't decided yet?
If so, you can try it without spending anything using a testnet wallet which you can fund through testnet faucets.
There's a tutorial in Beginners and Help board about setting up an LN Channel in testnet: [Tutorial] How to create Lightning Network Channel (Testnet BTC)
In that tutorial, the site where you'll purchase some "virtual coffee" is connected to Lightning network (Bitcoin testnet).
There's also a link below that post to a beginners' guide to Lightning Network which is worth the read if you really want to try LN.

Secondly must recipient also be on lightning network channel before the transaction can take place.?
The recipient's invoice looks entirely different than a Bitcoin address/invoice.

It would also be great if you can reply (unlike in your other topics where you just left some questions) with your experience after testing LN yourself  ;)

BlackBoss_
Member
**
Offline Offline

Activity: 75
Merit: 47


View Profile
September 25, 2022, 02:14:21 AM
 #4

How will I now connect my wallet or will the wallet automatically connected main blockchain?
You can not if I am not wrong.

Because Lightning Network is a second layer solution so it does not connect directly to the layer 1, Bitcoin network.

What you do on Lightning Network is by Lightning Network channels.

LightNing Network Summary
Quote
The Lightning Network solves these problems. It is one of the first implementations of a multi-party Smart Contract
(programmable money) using bitcoin's built-in scripting. The Lightning Network is leading technological development in
multiparty financial computations with bitcoin

LightNing Network Wiki
Quote
Lightning enables quick, cheap and scalable Bitcoin payments. The Lightning Network scales blockchains and enables trust-minimized instant payments by keeping most transactions off-chain and leveraging the security of the underlying blockchain as an arbitration layer.

Correct me if I am wrong. Thank you.
n0nce
Sr. Member
****
Offline Offline

Activity: 476
Merit: 4419


'21 Discovery of the year ᵔᴗᵔ


View Profile WWW
September 30, 2022, 10:41:05 PM
 #5

How will I now connect my wallet or will the wallet automatically connected main blockchain?
You can not if I am not wrong.
Because Lightning Network is a second layer solution so it does not connect directly to the layer 1, Bitcoin network.
You are connected to the blockchain in terms of creating a channel opening (and closing) transaction that are broadcasted and saved on the blockchain.
It's also required to monitor the mempool for cheating attempts, therefore running a Bitcoin Core node on the same machine is usually required.

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!