Hack A Lapp/Introduction to Bitcoins Lightning Network App Development/MoocIndex
Appearance
--MoocIndex for MOOC @ Hack A Lapp/Introduction to Bitcoins Lightning Network App Development
lesson|C-Lightning with python
[edit | edit source]- furtherReading=
- Lightning Network
- https://github.com/ElementsProject/lightning/
- More personal video series on youtube: https://www.youtube.com/user/renepickhardt
- https://github.com/renepickhardt/HackALapp
- learningGoals=
- install pylightning module
- invoke an Remote Procedure Call to your c-lightning node in a python code base
- create an invoice for your customer
unit|Ask your customer to pay with bitcoins lightning network by creating a lightning invoice
[edit | edit source]- furtherReading=
- https://github.com/ElementsProject/lightning/tree/master/contrib/pylightning
- https://github.com/ElementsProject/lightning/blob/master/doc/lightning-invoice.7.txt
- https://github.com/renepickhardt/HackALapp
- learningGoals=
- install pylightning module
- invoke an Remote Procedure Call to your c-lightning node in a python code base
- create an invoice for your customer
- video=File:C-lightning rpc call in python to create a Lightning Network invoice.webm
unit|Check which payments have been received
[edit | edit source]- furtherReading=
- https://github.com/ElementsProject/lightning/tree/master/contrib/pylightning
- https://github.com/ElementsProject/lightning/blob/master/doc/lightning-listinvoices.7.txt
- https://github.com/renepickhardt/HackALapp
- learningGoals=
- work with the listinvoices() method
- understand that invoices have a status
- access data from a specific invoice
- video=File:Retrieve_all_paid_invoices_via_c-lightning_rpc_call_in_python.webm
unit|Check if your customer has paid the invoice
[edit | edit source]- furtherReading=
- https://github.com/ElementsProject/lightning/tree/master/contrib/pylightning
- https://github.com/ElementsProject/lightning/blob/master/doc/lightning-listinvoices.7.txt
- https://github.com/renepickhardt/HackALapp
- learningGoals=
- find a specific invoice with its payment hash
- Check if a specific invoice has been paid
- change the response to the customer depending on the payment status of the invoice
- video=File:Check if a customer has paid the invoice.webm