# Exercises ## Funding 1. Fund each node's wallet with at least 20,000 sats. Use these faucets or receive transactions from students who have enough funds: https://bitcoinfaucet.uo1.net https://testnet-faucet.com/btc-testnet/ ## Channel Creation 2. Create 20,000-sat channels among group members who have a node, like this: Alice -> Bob -> Carol 3. And watch the node logs to see how the channel creation messages are sent between the nodes. 4. Generate 100-sat invoices from one node for payment by another node, and observe the node logs. ## Channel Closure 5. Channel Closure by Alice, including Collaborative. 6. Channel Closure by Carol, Force Closure. ## Supporting documentation [Core Lightning documentation](https://docs.corelightning.org/reference/lightning-newaddr) ### Commands used #### funding channel ``` lightning-cli newaddr lightning-cli listfunds ``` #### channel creation ``` lightning-cli connect lightning-cli fundchannel ``` #### invoices ``` lightning-cli invoice lightning-cli pay ``` #### channel closures `lightning-cli close`