Want to grow the network?
Consider running a proxy! You'll help others improve their privacy and maybe even earn money. Learn more here: https://github.com/supertestnet/the_rack (scroll to "How can I help?")
What is this?
On the lightning network, payments pass through routing nodes called "hops." Each hop adds additional privacy to your payment, but each one also adds more latency and raises the likelihood of a payment failure.
Many lightning wallets focus on ensuring payments are fast and reliable, so they optimize payments to use as few hops as possible, which harms user privacy. This website lets you turn that around by using the excellent lnproxy network to manually add extra hops to your payments. (A proxy is a type of routing node on the lightning network that focuses on user privacy.)
To use the site, take any lightning network invoice, paste it into the form on this page, and click "Add a hop." The website will return a new lightning invoice with one extra hop added to your payment, and routing fees added on top. You can add additional hops to your payment by clicking the button more than once.
For good privacy, 3 extra hops are recommended. You may continue adding hops if more proxies are available, but more than 6 extra hops is not recommended, as payment reliability falls greatly with that many hops.
What? I can make money by running this software?
Yep! Bitcoiners who are interested in privacy are often willing to pay extra for it. By running this software, you become a routing node that offers a distinct privacy enhancement, so you can charge higher fees than other routing nodes.
How do I do it? Gimme gimme gimme!
- Install a copy of nodejs and the npm package manager
- Install a copy of LND, either from here or using something like Voltage
- Open some channels -- I recommend buying inbound capacity from one of these LSPs -- make sure you have some inbound capacity AND some outbound capacity
- Create a directory on your computer called
the_rack
and enter that directory - Download a copy of the
index.js
file from this project and put it inthe_rack
directory - Open the
index.js
file in a text editor (e.g. Microsoft Notepad) and modify the top four lines, namely: insert your admin macaroon, your LND endpoint, and set a base fee (recommended: 10 sats) and a parts-per-million fee (recommended: 5000 parts per million) - Using your command line or terminal, run this command to turn your directory into a nodejs app:
npm init -y
- Install the app's dependencies by entering the following command into your command line or terminal:
npm i request crypto bolt11 noble-secp256k1 ws
- Run the app by entering the following command into your command line or terminal:
node index.js
That's it! Your app should immediately list itself on nostr as a proxy for the lightning network, and people may select you as an extra hop in their payments. You earn extra fees and they get extra privacy. It's a win-win!