mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-08 16:36:32 +00:00
Update 13_3_Setting_Up_a_Channel.md
This commit is contained in:
parent
4f00e6c813
commit
6023ee5480
@ -22,7 +22,7 @@ In this chapter we will use testnet network and will use c-lightning as primary
|
|||||||
|
|
||||||
#### Fund you c-lightning wallet.
|
#### 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 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 bench32.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ lightning-cli --network=testnet newaddr
|
$ lightning-cli --network=testnet newaddr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user