This opens a connection and, on top of that connection, then opens a channel.
This opens a connection and, on top of that connection, then opens a channel.
You can check the status of the channel using `cli/lightning-cli getpeers`.
The funding transaction needs 6 confirmations in order for the channel to be usable.
The funding transaction needs to confirm in order for the channel to be usable, so wait a few minutes, and once that is complete it `getpeers` should say that the status is in _Normal operation_.
You can check the status of the channel using `cli/lightning-cli getpeers`, which after 1 confirmation should say that the status is in _Normal operation_.
After 6 confirmations you can use `cli/lightning-cli getchannels` to verify that the channel shows up in the list of open channels.
### Receiving and receiving payments
### Receiving and receiving payments
Payments in Lightning are invoice based.
Payments in Lightning are invoice based.
The recipient creates an invoice with the expected `<amount>` in millisatoshi and a `<label>`:
The recipient creates an invoice with the expected `<amount>` in millisatoshi, a `<label>` and a `<description>`: