Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.77 KB

notes.md

File metadata and controls

44 lines (30 loc) · 1.77 KB

Alby native companion app

Alby is a Browser extension for the Lightning Network. It can connect to user's lightning nodes and facilitates lightning payments online.

Alby does this by directly connecting to the user's node through normal HTTP requests. Many users run nodes behind Tor or using self-signed certificates. Browsers can not natively handle those requests easily.

To make those connections possible we plan to implement a native companion application. That native application runs natively on the user's computer. The browser extension communicates through native messaging with the application.

The application performs the request and returns the response to the browser extension.

ToDos:

Initiate Project and integrate libtor

  • Initiate a new rust project
  • Embed Tor (libtor) and start a Tor connection
    • Does this require to run a socks proxy?
    • Run on a random port and plan for authentication (the socks proxy should not be available to other apps)
  • Perform a request through Tor

Connect to web extension

Add support for non-Tor HTTP requests

  • Allow HTTP requests to self-sign certificates

Links