ℹ️ NOTE: This is a draft in progress, so that I can get some feedback from early reviewers. It is not yet ready for learning.
In this chapter you'll be ready to begin working with the lightning-cli
command-line interface. But that first requires that you understand your c-lightning setup and its features, which is what will be explained with some examples and basic configuration.
For this and future chapters, we presume that you have a VPS with c-lightning installed, running lightningd
courtersy of Bitcoin Standup Scripts.
We also presume that you are connected to testnet, allowing for access to bitcoins without using real funds. You can either do this by hand, per §2.1: Setting up a Bitcoin-Core VPS by Hand, with Bitcoin Standup at Linode.com, per §2.2: Setting up a Bitcoin-Core VPS with Bitcoin Standup, or via other means, per §2.3: Setting up a Bitcoin-Core Machine via Other Means.
After working through this chapter, a developer will be able to:
- Demonstrate that their c-lightning Node is Installed and Up-to-date
- Use basic wallet Commands
- Setting up a channel.
- Pay an invoice
- Generate a payment request.
Supporting objectives include the ability to:
- Use Basic Informational Commands.
- Understand what a lightning channel is.
- Understand what a invoice is.
- Understand how to pay an invoice.