mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-08 08:26:17 +00:00
Update 13_3_Setting_Up_a_Channel.md
This commit is contained in:
parent
db882eb6dd
commit
5dd75dcc46
@ -20,7 +20,7 @@ Channels on the Lightning Network always are created between two nodes. Although
|
||||
|
||||
#### Fund you c-lightning wallet.
|
||||
|
||||
The first thing you need to do is send some satoshis to your c-lightning wallet. You can create a new address using `lightning-cli newaddr` command to use it later. The newaddr RPC command generates a new address which can subsequently be used to fund channels managed by the c-lightning node. This last transaction is called the [funding transaction](https://github.com/lightningnetwork/lightning-rfc/blob/master/03-transactions.md#funding-transaction-output) and it needs to be confirmed before funds can be used. You can specify the type of address wanted, if not specified the address generated will be a bench32.
|
||||
The first thing you need to do is send some satoshis to your c-lightning wallet. You can create a new address using `lightning-cli newaddr` command to use it later. The newaddr RPC command generates a new address which can subsequently be used to fund channels managed by the c-lightning node. This last transaction is called the [funding transaction](https://github.com/lightningnetwork/lightning-rfc/blob/master/03-transactions.md#funding-transaction-output) and it needs to be confirmed before funds can be used. You can specify the type of address wanted, if not specified the address generated will be a bech32.
|
||||
|
||||
```
|
||||
c$ lightning-cli --network=testnet newaddr
|
||||
|
Loading…
x
Reference in New Issue
Block a user