mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-10-30 18:07:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # Chapter Thirteen: Understanding Your Lighting Setup
 | |
| 
 | |
| > :information_source: **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](https://github.com/BlockchainCommons/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](02_1_Setting_Up_a_Bitcoin-Core_VPS_by_Hand.md), with Bitcoin Standup at Linode.com, per [§2.2: Setting up a Bitcoin-Core VPS with Bitcoin Standup](02_2_Setting_Up_a_Bitcoin-Core_VPS_with_StackScript.md), or via other means, per [§2.3: Setting up a Bitcoin-Core Machine via Other Means](02_3_Setting_Up_Bitcoin_Core_Other.md).
 | |
| 
 | |
| ## Objectives for This Chapter
 | |
| 
 | |
| 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.
 | |
|    
 | |
| ## Table of Contents
 | |
| 
 | |
| * [Section One: Verifying Your Lightning Setup](13_1_Verifying_Your_Lightning_Setup.md)
 | |
| * [Section Two: Knowing Your Lightning Setup](13_2_Knowing_Your_lightning_Setup.md)
 | |
| * [Section Three: Setting Up a channel](13_3_Setting_Up_a_Channel.md)
 | |
| * [Section Four: Generate a payment request](13_4_Generate_a_Payment_Request.md)
 | |
| * [Section Five: Paying an invoice](13_5_Paying_a_Invoice.md)
 | |
| * [Section Five: Close a Channel](13_6_Close_channel.md)
 |