LNContract: Week 4
Week 3 Recap:
I made a lot of progress with the basic structure of things, essentially completing what I listed for last week.
-
Basic Frontend functionality
-
Finished off the basic django routing. Now the app can hit an initial Dashboard (blank right now), then hit side menue for listing all contracts, goods, services, counterparties that are managed by the apps.
-
Can click through to list all contracts.
-
From there can choose a specific contract.
-
From specific contract, a party can choose to connect to its LN Node.
-
-
This connection to a party's LN Node is the first real meat of the app.
-
Using Polar for now to simulate the LN and BTC nodes.
-
When connecting to the a party's LN Node, the app
-
Currently assumes knowledge of the tls certificate, macaroon and ln location.
-
Uses that to establish a secure gRPC channel and stub
-
Then uses the stub to make get wallet_balance and wallet_info calls, responding with the info about the wallet and node.
-
-
This is returned to the front-end in a simple template for now.
-
Week 4 Preview:
The goal this week is ambitious. With the basic connection functionality in place, my goal is to:
-
Display the returning wallet info from the connection above in a little friendly view.
-
Create a connection to a counterparty's ln node.
-
Create a channel with the counterparty.
-
Make/Receive a payment.