1/ With Lntenna-python you can send a @blockstream Satellite message from an off-grid node, using a Submarine Swap over @goTenna mesh network:
2/ To send a message to most of the global landmass from an off-grid device - with no direct internet connection - we leverage the Blockstream Satellite Transmission Service
blockstream.com/satellite-queu…
3/ Because payment for the Blocksat service is via #lightning and our off-grid device only has a full #bitcoin node, we need somebody else to *trustlessly* pay on our behalf...
4/ A Submarine Swap enables us to pay a lightning invoice directly with bitcoin, and to verify locally ourselves that in order to claim the bitcoin we sent, the Submarine Swap provider MUST pay the lightning invoice first, sending our message to the world.
5/ @alexbosworth's Submarine Swap Service allows us to do just that via a convenient API
submarineswaps.org
6/ First the Lntenna-python Client will request a quote from the Gateway server. The Gateway will query Blockstream and submarineswaps.org on its behalf, and return the lightning invoice and submarine swap quote via the mesh
7/ The client can decode the lightning invoice and verify the signatures match the hardcoded pubkeys from Blockstream. It can also decode the submarine swap redeem script to ensure that the submarine swap provider MUST fulfil the invoice to claim (spend) the bitcoins we send them
8/ When the client accepts the quotations, Lntenna-python will generate a bitcoin transaction to satisfy the swap quote. The raw bitcoin transaction is sent to the Gateway via the mesh, and uploaded to the bitcoin P2P network.
9/ When the swap is executed, the swap provider will return to us the preimage of the lightning invoice, which we can validate against the lightning invoice on the mesh client, to verify the invoice was paid.
10/ You can read more about the full process and find links to the code repo in this blog post:
inthemesh.com/archive/lntenn…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with wi͛llcl-ark

wi͛llcl-ark Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(