mirror of
https://github.com/lnbook/lnbook
synced 2024-11-01 03:20:53 +00:00
a node, not an
This commit is contained in:
parent
ee33a34173
commit
dc82887ec9
@ -48,7 +48,7 @@ In <<lnwallet-categories>> we see the three broad categories of lightning wallet
|
||||
|===
|
||||
|
||||
|
||||
Lightning wallets can be installed on a variety of devices, including laptops, servers, and mobile devices. To run an LN node and a Bitcoin node, you will need to use a server or desktop computer, as mobile devices and laptops are usually not powerful enough in terms of capacity, processing, battery life, and connectivity.
|
||||
Lightning wallets can be installed on a variety of devices, including laptops, servers, and mobile devices. To run a LN node and a Bitcoin node, you will need to use a server or desktop computer, as mobile devices and laptops are usually not powerful enough in terms of capacity, processing, battery life, and connectivity.
|
||||
|
||||
In <<lnwallet-examples>> we see some examples of currently popular LN node and wallet applications for different types of devices.
|
||||
|
||||
@ -77,11 +77,11 @@ In the next section we will introduce our first user and walk through their firs
|
||||
|
||||
=== Alice's First LN Wallet
|
||||
|
||||
Alice is a long time Bitcoin user. We first met Alice in Chapter 1 of _"Mastering Bitcoin"_ footnote:["Mastering Bitcoin 2nd Edition, Chapter 1" Andreas M. Antonopoulos (https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch01.asciidoc).], when she bought a cup of coffee from Bob's cafe, using a bitcoin transaction. Now, Alice is eager to learn about and experiment with the Lightning Network. First, she has to select an LN wallet that meets her needs.
|
||||
Alice is a long time Bitcoin user. We first met Alice in Chapter 1 of _"Mastering Bitcoin"_ footnote:["Mastering Bitcoin 2nd Edition, Chapter 1" Andreas M. Antonopoulos (https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch01.asciidoc).], when she bought a cup of coffee from Bob's cafe, using a bitcoin transaction. Now, Alice is eager to learn about and experiment with the Lightning Network. First, she has to select a LN wallet that meets her needs.
|
||||
|
||||
Alice does not want to entrust custody of her bitcoin to third parties. She has learned enough about cryptocurrency to know how to use a wallet. She also wants a mobile wallet so that she can use it for small payments on-the-go, so she chooses the _Eclair_ wallet, a popular non-custodial mobile LN wallet.
|
||||
|
||||
==== Downloading and Installing an LN Wallet
|
||||
==== Downloading and Installing a LN Wallet
|
||||
|
||||
When looking for a new cryptocurrency wallet, you must be very careful to select a secure source for the software.
|
||||
|
||||
@ -148,7 +148,7 @@ After Alice initializes her Eclair Mobile wallet, she will see a brief tutorial
|
||||
|
||||
=== Loading Bitcoin Into the Wallet
|
||||
|
||||
Alice now has an LN wallet. But, it's empty! She now faces one of the more challenging aspects of this experiment: she has to find a way to acquire some bitcoin and load it onto her Eclair wallet.
|
||||
Alice now has a LN wallet. But, it's empty! She now faces one of the more challenging aspects of this experiment: she has to find a way to acquire some bitcoin and load it onto her Eclair wallet.
|
||||
|
||||
[[acquiring-bitcoin]]
|
||||
==== Acquiring Bitcoin
|
||||
@ -258,17 +258,17 @@ Choosing the ACINQ node will slightly reduce Alice's privacy, as it will give AC
|
||||
|
||||
Alice touches "ACINQ Node" and is ready to open her first LN channel.
|
||||
|
||||
==== Opening an LN Channel
|
||||
==== Opening a LN Channel
|
||||
|
||||
When Alice selects a node to open a new channel, she is asked to select how much money she wants allocated to this channel. In subsequent chapters we will discuss the implications of these choices, but for now Alice will allocate almost all her funds to the channel. Since she will have to pay transaction fees to open the channel, she will select an amount a few dollars (or a few thousandths of a bitcoin) less than her total balance.
|
||||
|
||||
Alice allocates 0.018BTC of her 0.020 total to her channel and accepts the default fee rate, as shown in <<eclair-open-channel>>.
|
||||
|
||||
[[eclair-open-channel]]
|
||||
.Opening an LN Channel
|
||||
.Opening a LN Channel
|
||||
image:images/eclair-open-channel-detail.png[]
|
||||
|
||||
Once she clicks "OPEN", her wallet constructs the special Bitcoin transaction that opens an LN channel, known as the _funding transaction_. The funding transaction is sent to the Bitcoin Network for confirmation.
|
||||
Once she clicks "OPEN", her wallet constructs the special Bitcoin transaction that opens a LN channel, known as the _funding transaction_. The funding transaction is sent to the Bitcoin Network for confirmation.
|
||||
|
||||
Alice now has to wait, again (see <<eclair-channel-waiting>>), for the transaction to be recorded in the Bitcoin Blockchain. As with the initial Bitcoin transaction that she used to acquire her bitcoin, she has to wait for six or more confirmations (approximately one hour).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user