Difference between revisions of "Main Page"

From PlebNet Wiki
Jump to navigation Jump to search
m
(45 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= PLEBNET for plebs =
<languages/>
<translate>
<!--T:2-->
'''Welcome to the Plebnet!'''


Welcome to the Plebnet! We've outlined the main 'guide' on this page. Follow the articles here in order to gain a better understanding of the steps required to join the PlebNet, and getting your node up & running. If you'd like to simply browse around, you can view all our pages [[Special:AllPages]].
<!--T:53-->
We've outlined the main 'guide' on this page. Follow the articles here in order to gain a better understanding of the steps required to join the PlebNet, and getting your node up & running. If you'd like to simply browse around, you can view all our pages [[Special:AllPages|Special:AllPages]].


== Welcome to Plebnet ==


[[Welcome to Plebnet]]
== To read first == <!--T:3-->


  Hopefully this can be a guide for people wondering where to start, and what really is plebnet?
<!--T:4-->
First, plebnet, this crazy awesome community, was started by a group of selfless, generous plebs working together to onboard people to the bitcoin lightning network!  Constantly evolving, the goal remains: bring people together to understand and support the lightning network, learn from each other the basics of running a node or using a lightning wallet, and bridge the gap that remains between the tech/cyber world and the everyday user. 
[[Special:MyLanguage/Welcome to Plebnet|Welcome to Plebnet]]
More on the plebnet infrastructure will be addressed below, but first I will attempt to answer some of the common questions people pose to the group when first joining, as well with some important tips. 


*pleb tips that everyone should know**
<!--T:5-->
TRUST NO ONE
'''Please read the above link before anything else!''' Contains useful introduction and tips.


THERE ARE RISKS WITH RUNNING A LIGHTNING NODE


DO YOUR OWN RESEARCH
== Getting Started == <!--T:6-->


LEARN FROM MISTAKES AND HELP OTHERS
<!--T:7-->
Are you brand new and perhaps don't quite understand lightning? Do you not have your own node yet? Are you not yet in the Plebnet telegram group?


RUNNING A NODE IS NOT THE SAME AS MINING BITCOIN
<!--T:8-->
Please see the [[Special:MyLanguage/Getting started|Getting started]] page.




*How did I get here? - I am unable to answer that question for you, but maybe you clicked on one of our links on twitter? You may have also typed in kycjelly.com after hearing Walton’s wonderful voice proclaim it on Clubhouse... but really that is for you to figure out.
== Claim your node == <!--T:9-->


*Can I become a node operator? - I can speak with experience here - anyone can learn to operate a lightning node.  This does not mean that anyone can do it with ease, or that you will be able to run your node successfully and without risk.  You must be able to do your own research and actually do your own work.  Instead of posing questions like the one I am responding to here, maybe try asking:  Can someone point me to the best resources for someone interested in lightning, or interested in running a lightning node?
<!--T:10-->
For telegram, DM [https://t.me/cheeserobot @cheeserobot] and then <code>/claim</code> your node (follow the instructions, you will need to sign a message with your node to prove you are owner of the node).


*How much money can I make running a lightning node?  How much are you making weekly?  - Questions along these lines are tricky to answer and depend on too many variables for it to get a response.  Many of us running nodes are not currently profitable.  Our main purpose is learning, supporting the network, and refining ways to operate a healthy node not at a loss. If you see a future on a bitcoin standard, there is a good chance everyone will be transacting on lightning. Some people see their good channels and connections as an investment for years in the future.  There is no guarantee though that any node will be profitable now or at another time.  This answer is not meant to deter anyone, and we do have node runners that have become profitable recently, but they have put a serious amount of time, accounting, strategy, and capital in their nodes to get to where they are. Instead of looking at how much money you can make, you must understand your costs and income. To operate a node your costs are
<!--T:11-->
Then, in the [https://t.me/plebnet plebnet] group announce your node with <code>/node</code>. If you see your own node, success.
Repeat in other groups which support CheeseRobot with <code>/node</code>.


** Capital Expense of purchasing hardware. You should probably write it off over the useful life of that hardware. Remember as you get hooked you will spend on upgrades, redundant infrastructure and so on.
<!--T:12-->
** Operating Costs outside your control
Additionally, [https://amboss.space Amboss.space] is one of the best websites for looking up nodes and their basic information. People may go to Amboss to browse your node's info. You can claim your node on Amboss which will allow you personalize your node's profile and add additional information. Use these instructions: [[Special:MyLanguage/Claim on Amboss|Claim on Amboss]]
*** Cost of internet bandwidth and electricity (minimal but still there is a cost)
*** Cost of opening and closing a channel. These depend on the on-chain mining costs at that time. It is possible to open a channel at 1 sat/vb at times but the price on-chain can change in future.
*** Cost of rebalancing if you need to do. Ideally, if you operate a good node there will be two-way traffic but still rebalancing is something one has to do once in a while and the cost is variable and determined by the network.
*** Cost of buying inbound liquidity if you cannot source it from plebs.
*** Cost of loop out and other services you might use to operate your node.


You need to balance these costs against the only source of income which is your routing fees. You can set them very high but maybe no one will route through you. You can set them very low and you will not cover your cost(s). So this is a tight rope 3D chess you will play when you operate a node. It may not rain sats but it would sure be fun!


*Can I open a channel with someone for X amount of sats?  OR what is the best amount of sats to open a channel with? - The answer to this question is... it's a moving bar.  It also depends on what kind of node you want to operate, what amount of funds you have, and who you want to connect to.  I think there are ~3 broad categories of nodes in the lightning network
== Opening Channels == <!--T:13-->
1) profitable routing nodes: those that require a lot of management, capital, and skill


2) middle ground nodes: a less defined group, nodes with a handful of decent-sized channels, good peers, and are great for supporting and expanding the network
<!--T:14-->
The first question which a pleb has after (or even before) the node is synced "'''who should I open channel with'''"


3) personal use nodes: nodes for people who want to have 1-2 good connections, the experience of understanding lightning and node running, and the ability to route personal transactions in or out of their node
<!--T:15-->
I would say - '''with a mentor who is willing to spend time with you, teach you the ropes, mentor and guide you to be a better node runner'''


So after understanding these different node groups, the answer for a good channel size for a profitable routing node is different than a node with a different use case.  As of now many of the bigger routing nodes have set channel size minimums from around 2 million sats and up (some have minimums of 10 million sats!).  If you are just starting out, some plebnet nodes that are great to connect to are [https://amboss.space/node/0381de1709efbda38f9afd2d47399caa19a2630c0c795acd24755efa442685fc7d Turgidson] & [https://amboss.space/node/035f42b1c1cd8afe605f3fc1befc270844ec9885b7c53f713faa672869c25cb148 GirthMavic], any size channel 20k sats and up will work to connect with them.
<!--T:16-->
Of course in the age of google, internet, and instant gratification, this thought can be frowned upon but there is no replacement for a mentor in your journey as node runner.


<!--T:17-->
For information relating to lightning channels, including methods to get inbound liquidity see: [[Special:MyLanguage/Opening channels|Opening channels]]


Now back to the best parts of plebnet:  the resources shared, the pleb connections made, and the magic of the lightning network!  A lot of questions people ask may be answered, and resources can be found with a quick look at the pinned posts, the plebnet wikis, or in the plebnet telegram: 


https://plebnet.wiki  https://library.plebnet.org
== Maintaining Proper Node Hygiene == <!--T:18-->


*Please contribute if you are able! Plebs just like you are volunteering their time and expertise to help the next pleb.  This is probably my favorite thing about plebnet - seeing someone who joined a week ago jump in to help out a new pleb and answer their questions is really amazing.  The three links above will most likely lead you to anything you are looking for, including a list of lightning related telegram groups (support chats for raspiblitz, bos, and umbrel for example), and many more gems of knowledge.  If you are still stumped and want to ask in plebnet, we are lucky to have the entire range of lightning user: literally, plebs that are developing on lightning, to a pleb with a fashion design background, oh and some pretty well known champions of bitcoin as well 😉.  I am fairly confident in saying that, at this time, it is the best hub of connections and resources for the lightning network.
<!--T:21-->
[[Special:MyLanguage/Node Hardening|Node Hardening]]
Plebnet infrastructure:  as plebnet has grown, we have evolved, and adjusted, and reinvented into what we are today.  Currently we have 4 different tiers of telegram groups for different purposes:
*PLEBNET - LIGHTNING 101:  https://t.me/CHLNgroup this group is fantastic with onboarding users to custodial lightning, and helping people make their first transactions on the lightning network.  People may get their minds blown by the speed and cheap fees that are a product of the lightning network.
*PLEBNET: https://t.me/plebnet this is the place. The largest plebnet group, with a super amazing graph/web of plebs, where resources flow and friends are made!
*PLEBNET // NODERUNNERS:  This group is a little smaller and focused on those who have gotten their node up and running and have a few channels, aka have made the steps beyond the initial setting up a node, and are ready to talk a little more serious about node running.  If you think you are ready, give a shoutout to @AEHW1 to add you over to this group. 
*PLEBNET ADVANCED:  This group is specifically focused on development of the network and tools for routing and network optimization.  Think super technical mumbojumbo and people creating and troubleshooting tools that could one day we could all be using for our nodes, who knows!


== Getting Started ==
<!--T:19-->
[[Special:MyLanguage/Maintaining node hygiene|Maintaining node hygiene]]


[[Getting started]]
<!--T:20-->
[[Special:MyLanguage/Node Hardware|Node Hardware]]


== Claim your node ==
<!--T:22-->
[[Special:MyLanguage/UPS|UPS]] (Uninterrupted Power Supply)


[[Claim on Amboss]]


== Opening Channels ==
== Backup/Recovery == <!--T:23-->


[[Opening channels]]
<!--T:24-->
The following link contains some important information about channel backups and recovery solutions so that you have a better idea of how to keep your funds safe.


== Maintaining Proper Node Hygiene ==
<!--T:25-->
[[Special:MyLanguage/Backup/Recovery|Backup/Recovery]]


[[Maintaining node hygiene]]


[[Node Hardware]]
== Let’s Get Personal == <!--T:26-->


[[Node Hardening]]
<!--T:27-->
Your node can be customized to appear as a name (alias) rather than just a bunch of random letters and numbers. You can also set a color for your node that will show up on various lightning-related websites and programs.


== Upgrades ==
<!--T:28-->
[[Special:MyLanguage/Setting a node alias|Setting a node alias]]


[[Upgrading Umbrel Node]]


== Balance of Satoshis ==
== Upgrades == <!--T:29-->


Installation:
<!--T:30-->
[[Special:MyLanguage/Upgrading Umbrel Node|Upgrading Umbrel Node]]


- installation process for [[Umbrel - Installing BoS]].


== Balance of Satoshis == <!--T:31-->


Common Commands:
<!--T:32-->
See [[Balance of Satoshis]]
Balance of Satoshis, or BoS, is a set of commands for working with LND balances. It can do similar things as interfaces like ThunderHub or RideTheLightning. However, your options are much wider with BoS, and you will need it if you want to set up a telegram bot with your node (to get notifications whenever channels are opened/closed, whenever you forward a payment, whenever your node goes offline, and to get automatic channel backups for safety).


== UPS ==
<!--T:33-->
For more information, and common BoS commands see: [[Special:MyLanguage/Balance of Satoshis|Balance of Satoshis]].


[[UPS]]
<!--T:52-->
[https://github.com/niteshbalusu11/BOS-Commands-Document See this excellent documentation for bos commands]  


== Let’s Get Personal ==
<!--T:34-->
Installation: process for [[Special:MyLanguage/Umbrel - Installing BoS|Umbrel - Installing BoS]]. Includes instructions for setting up BoS telegram bot.


[[Setting a node alias]]


== LND Configuration Settings Overview ==
== LND Configuration Settings Overview == <!--T:35-->


[[LND Configuration Settings]]
<!--T:36-->
Click the link below for information related to setting up channel size limits, predefined fees on new channels, setting up watchtowers, and other optimization settings.


== Running A Profitable Routing Node ==
<!--T:37-->
[[Special:MyLanguage/LND Configuration Settings|LND Configuration Settings]]


The profitability of a routing node is like for any business - revenue minus costs.  Revenue consists of fees that your node collects when routing transactions.  Costs consist of channel close/open fees, costs to move sats to your node, channel rebalance costs, and loop in/outs. Therefore, your node is profitable as long as revenue minus costs is positive.  Tracking [https://t.me/plebnet/40471 nodes's p&l] on a weekly basis may give you a good idea of how your node is progressing towards profitability.


Profitability is an important objective to keep in mind, but it takes time to get there. So when beginning your Lightning journey, it's essential to keep an open mind and be prepared to learn.  There is no right or wrong way to develop your node, so it comes down to the strategy that you opt to follow.  [https://youtu.be/LRZy-VtCPe4 Allocate your capital strategically] and be mindful of the costs (channel open/close, rebalancing, etc) and they do add up.
== Running A Profitable Routing Node == <!--T:38-->


We talk about channel girth (size in sats) quite a bit, but the quality of [https://bitcoinmagazine.com/.amp/culture/four-tips-run-profitable-lightning-node your peer is more important than girth].  In other words, you can have a very liquid 2mil sats channel and an illiquid 10mil channel.  With that being said, a girthier channel to a quality peer is better.
<!--T:39-->
Not seeing routing through your node, or your sats are only moving in one direction?


A quality peer is a well-maintained active node that can help you get more traffic.  One metric that you can look at when selecting a peer is [https://medium.com/@jungly/measuring-node-centrality-in-lightning-network-8102a59999f0 centrality] - how close your node is to the center of the graph as opposed to being on the outside. In addition, here are some of the tools that can help optimize your node's centrality: [https://lnnodeinsight.com/ lnnodeinsight] - has a channel simulator to test centrality before establishing a channel with a node; [http://gridflare.xyz gridflare] - provides node recommendations to improve centrality.
<!--T:40-->
Want more information about rebalancing and fees? Want to run a program that auto-adjusts your fees, or one that gives you KPIs (Key Performance Indicators)?


Your node will have a mix of channels of different sizes.  In general, it does not make sense to keep liquidity in channels with inactive peers.  You'd want to re-allocate your inactive liquidity either through circular rebalancing or through closing inactive channels and utilizing the freed-up liquidity elsewhere.  You will incur fees either way, so it comes down to weighing pros/cost of the options.  Based on our experience, mixing small channels with big channels does not impact a node's routing ability.
<!--T:41-->
'''Your one stop shop for tips on routing node profitability:''' [[Special:MyLanguage/Running A Profitable Routing Node|Running A Profitable Routing Node]]


[https://terminal.lightning.engineering/ Terminal Web] classifies nodes into good and pending and assigns a score. Based on our experience, the score does not materially affect routing, even though it helps attract other nodes to connect to yours (sort of like a marketing tool). You can use the [https://lnrouter.app/scores/terminal Terminal Score Debugger] tool to debug and optimize your node's score.
<!--T:42-->
[[Special:MyLanguage/Fees And Profitability|Shortcut to auto-fee and auto-KPI instructions]]


[https://plebnet.wiki/wiki/Umbrel_-_Installing_BoS Balance of Satoshis] is an excellent tool to help you optimize channel rebalancing. It'll show you routing hops along with fees for each hop.  You can then further optimize rebalancing cost by excluding expensive nodes.


The following section discuss strategies and options you have available to run a profitable routing node.
== Playground / Sandbox == <!--T:43-->


<!--T:44-->
Click the image below to get information on Plebnet Playground, a place where you can learn and use the lightning network without risking any real money (signet).


[[Fees And Profitability]]
<!--T:45-->
[[File:PlebnetPlayground.jpg|450px|link=Plebnet Playground|alt=Plebnet Playground Logo]]


[[Balancing Nodes]]
[[Help! I do not see any routing through my node]]
[[Help! My sats are only moving in one direction]]
== Playground / Sandbox ==
[[File:PlebnetPlayground.jpg|450px|link=Plebnet Playground|alt=Plebnet Playground Logo]]


== Backup/Recovery ==
== FAQ == <!--T:46-->


[[Backup/Recovery]]
<!--T:47-->
A selection of questions frequently asked in [https://t.me/plebnet plebnet] groups.
[[Special:MyLanguage/FAQ|FAQ]]




== Resources ==
== Resources == <!--T:48-->


[[Resources]]
<!--T:49-->
[[Special:MyLanguage/Resources|Resources]]


= All Pages =
= All Pages = <!--T:50-->








</translate>
{{:Special:Allpages}}
{{:Special:Allpages}}
<translate>
</translate>

Revision as of 01:18, 5 November 2021

Other languages:
English • ‎Hausa • ‎Türkçe • ‎Wolof • ‎Yorùbá • ‎español • ‎français • ‎العربية • ‎हिन्दी

Welcome to the Plebnet!

We've outlined the main 'guide' on this page. Follow the articles here in order to gain a better understanding of the steps required to join the PlebNet, and getting your node up & running. If you'd like to simply browse around, you can view all our pages Special:AllPages.


To read first

Welcome to Plebnet

Please read the above link before anything else! Contains useful introduction and tips.


Getting Started

Are you brand new and perhaps don't quite understand lightning? Do you not have your own node yet? Are you not yet in the Plebnet telegram group?

Please see the Getting started page.


Claim your node

For telegram, DM @cheeserobot and then /claim your node (follow the instructions, you will need to sign a message with your node to prove you are owner of the node).

Then, in the plebnet group announce your node with /node. If you see your own node, success. Repeat in other groups which support CheeseRobot with /node.

Additionally, Amboss.space is one of the best websites for looking up nodes and their basic information. People may go to Amboss to browse your node's info. You can claim your node on Amboss which will allow you personalize your node's profile and add additional information. Use these instructions: Claim on Amboss


Opening Channels

The first question which a pleb has after (or even before) the node is synced "who should I open channel with"

I would say - with a mentor who is willing to spend time with you, teach you the ropes, mentor and guide you to be a better node runner

Of course in the age of google, internet, and instant gratification, this thought can be frowned upon but there is no replacement for a mentor in your journey as node runner.

For information relating to lightning channels, including methods to get inbound liquidity see: Opening channels


Maintaining Proper Node Hygiene

Node Hardening

Maintaining node hygiene

Node Hardware

UPS (Uninterrupted Power Supply)


Backup/Recovery

The following link contains some important information about channel backups and recovery solutions so that you have a better idea of how to keep your funds safe.

Backup/Recovery


Let’s Get Personal

Your node can be customized to appear as a name (alias) rather than just a bunch of random letters and numbers. You can also set a color for your node that will show up on various lightning-related websites and programs.

Setting a node alias


Upgrades

Upgrading Umbrel Node


Balance of Satoshis

Balance of Satoshis, or BoS, is a set of commands for working with LND balances. It can do similar things as interfaces like ThunderHub or RideTheLightning. However, your options are much wider with BoS, and you will need it if you want to set up a telegram bot with your node (to get notifications whenever channels are opened/closed, whenever you forward a payment, whenever your node goes offline, and to get automatic channel backups for safety).

For more information, and common BoS commands see: Balance of Satoshis.

See this excellent documentation for bos commands

Installation: process for Umbrel - Installing BoS. Includes instructions for setting up BoS telegram bot.


LND Configuration Settings Overview

Click the link below for information related to setting up channel size limits, predefined fees on new channels, setting up watchtowers, and other optimization settings.

LND Configuration Settings


Running A Profitable Routing Node

Not seeing routing through your node, or your sats are only moving in one direction?

Want more information about rebalancing and fees? Want to run a program that auto-adjusts your fees, or one that gives you KPIs (Key Performance Indicators)?

Your one stop shop for tips on routing node profitability: Running A Profitable Routing Node

Shortcut to auto-fee and auto-KPI instructions


Playground / Sandbox

Click the image below to get information on Plebnet Playground, a place where you can learn and use the lightning network without risking any real money (signet).

Plebnet Playground Logo


FAQ

A selection of questions frequently asked in plebnet groups. FAQ


Resources

Resources

All Pages