Getting Started with Umbrel node

Getting started with Umbrel

If you are a new user of Umbrel node, here you have a mini guide and links about how to use this amazing simple software node. It is important that if you start from zero knowledge, to begin with reading about what is Lightning Network and how to use it, basic concepts and functionalities. In this guide you will find many links to those resources. Do NOT ignore them, read them and then put them in practice with your Umbrel node.

I. Important links

As a general note: if you are new into this area of LN (Lightning Network), please educate yourself, at least the basics of LN, BEFORE starting the Umbrel node.

II. Installation modes

First and foremost: default password of Umbrel node is moneyprintergobrrr

Second: EACH Umbrel app, will have a different onion address, so if you plan to use it outside your LAN, save those onion addresses, but NEVER expose/share them in public.

Third: change the default password of you Umbrel node, but keep in mind that for the moment Thunderhub and Lightning Terminal app will not update that password and will still have the default password. You can change that password, digging up manually into the belly of each app repository.

Fourth: WAIT for the node to fully synced and donā€™t send any funds to your node wallet until then. You canā€™t use them anyway until is synced, so why so much rush? Patience is the key for a node operator.

A. Using a Raspberry Pi 4

B. Using a normal PC/laptop/NUC

Once is installed and running, it start syncing the Bitcoin Blockchain. In this moment you just relax and wait to be synced. It will take 4-12 days, depending on the hardware and internet connection. Meanwhile I invite you to learn more about Lightning Network and how to use and be preapred to use an Umbrel node.

III. General Rules

A. Channel size

When you open channels, DO NOT start with small amount like 20-50-100k sats. That ridiculous low amount will not be enough not even for the open/close fees. Low amount channels are doing more harm than good, to you and for the rest of the network.

Example: If you have a 20k channel open with my node:

  • that will barely cover the open/close fees and remains only dust to spend.
  • If I want to use that channel to send 50k sats it will not be possible. So the channel will be useless and will lower the node score for both nodes.

Open channels with min 500k-1M sats. That will offer a better routing, for you and for all others that will route txs through your node.

ā€œBigger is betterā€ DO NOT apply too much in this case, so now donā€™t go to the other extreme and open massive 0.5BTC channels. Much better the approach of having 5-6 outbound channels with each between 500k to 1M sats and also, depending of your needs, 3-4-5 inbound channels, with the same amount.

Now, yes, more channels is better, because your node will be better connected and will find a better route and faster.

OUTBOUND Liquidity ā€“ You have a LN node to make LN payments, buying stuff, sending to friends, paying services etc. So try to open LN channels with those merchants you are willing to trade (merchants, exchanges, wallet operators, LN services, friends with nodes).

INBOUND liquidity ā€“ So find some peers that are willing to open some channels TOWARDS your node. Check the Umbrel Discord server and Telegram group, where you can ask for peers to open channels with your node. The inbound liquidity IT IS NECESSARY in order to be able to receive LN payments.

What/with who should I open channels?

  • First, with those merchants/shops that you will do txs, you will buy from them, the txs will have zero fees and you have direct routing.
  • Second, with friends/LN freaks you know and can create a ring of nodes with specific amount os sats for channels, balancing the funds and lowering the fees between nodes in the ring.
  • Third, your ring of nodes can have some ā€œexternalā€ connections/channels with other good nodes (ideal that each member of the ring with a different node) so you can route easily and fast anywhere.

B. Node Operator

Operating a node, doesnā€™t mean automatically ā€œI will get rich earning satsā€œ. Move away from this wrong mentality.

  • You run the Umbrel node to protect your privacy, to protect your keys, to protect your money, to protect the custody of your wallets.

  • Yes, you will earn some sats, but only if you will manage your node in the right way. But even then, those earnings will be insignificant to be considered ā€œearningsā€.

  • You run this node to LEARN more about Bitcoin and find solutions for real life applications. Umbrel is offering that opportunity with many apps included (see LNbits, BTCPay, LN Pool, Whirlpool) ready for use cases.

  • DO NOT TURN OFF YOUR NODE! Iā€™ve seen people turning off their node at night (they complain that canā€™t sleep). Why have you run it if you donā€™t have it ON 24/7/365? A node has to be ONLINE as long is possible. It is also advisable to put a UPS and avoid power outages. This is your Bank and also others depend on it!

IV. Basic node usage

Now, what I suggest, for any new node user, in special with Umbrel:

A. Wait to sync the blockchain

It will take time, I know, but be patient. It will get through, no worry. Donā€™t do anything (stupid) until is not ready. Depending on your hardware configuration and internet speed, it could take between 3 and 12 days. After the sync, it will take another 8-12h to sync the index for Electrum Server.

B. Keep your software updated

Not just Umbrel, if you are not using the Pi mode install. So once is synced, check if there are new updates and apply them.
If you are using RaspPi option, updating Umbrel will update also the OS.
If you are using a Linux machine with Umbrel in docker, I would recommend to do the following procedure (in Terminal):

  • Stop Umbrel node: sudo ./scripts/stop
  • Save your lnd.conf file if you edited (add color, name or specific features to your node), see in home/umbrel/lnd
  • Update system: sudo apt update and then sudo apt upgrade
  • Restart system
  • Update Umbrel: cd ~/umbrel && sudo ./scripts/update/update --repo getumbrel/umbrel#v0.3.9 (replace version with the latest release)
  • Replace lnd.conf file with the one you save it before update
  • Start Umbrel: sudo ./scripts/start
  • Leave the node to catch up with blocks and logs, usually takes several minutes, be patient. Now you can enter into dashboard Umbrel

C. Install minimum required apps like

See the Umbrel Apps section:

  • Ride The Lightning (RTL) ā€“ management for node, wallet, channels, routing.
  • ThunderHub ā€“ management for node, wallet, channels, routing, chat, tools.
  • BTC RPC Explorer ā€“ Blockchain explorer and tools
  • Mempool ā€“ watch mempool fees, blocks, check txs, blockchain explorer, very handy

D. Install optional apps

See the Umbrel section of App Store, one click install:

E. Connect some wallets to your node

a. See the ā€œConnect Walletā€ in your Umbrel dashboard page that has easy-to-understand instructions for connecting many wallets:

  • Zap, Zeus - to manage your node remotely, using onion connection (desktop and mobile version)
  • Bluewallet - you can use Umbrel node Electrum server as point of connection for your mobile wallet
  • Electrum - to verify/broadcast your txs from your wallet using your own node, also using it as swap funds from/in to your node
  • Specter - connect to your node and use your favorite hardware wallets in a secure way
  • And many moreā€¦

b. Bluewallet LNDHub (full LN wallet from your node) will be available soonā€¦

c. Restore your onchain node wallet with Bluewallet

Yes, is true, now you can connect directly to a mobile app, the onchain AEZEED wallet. Just use your Umbrel node seed in Bluewallet (adding it as new wallet) and done. Use cases:

  • you want to have at hand a way to deposit quick to your node wallet (onchain)
  • you need to have access to your onchain funds in case your node is crashed and want to recover / access the funds.

V. Funding your node

  • Keep in mind: your Umbrel onchain wallet should act as a bridge/ramp between your many other wallets or BTC sources and your LN channels. This wallet is used to fund the opening and closing channels on your LN node. So in order to be able to open LN channels you will need to send some funds into this onchain wallet.

  • Go to your Umbrel main interface, Bitcoin wallet and click ā€œreceiveā€. From any other wallet send some funds (usually for 3-4 channels, each 1M sats). Wait to be confirmed then go to next step.

  • You can use Lightning wallet, from the same main Umbrel interface, but I suggest to use Thunderhub app. Why? Because you can control better the miner fees for opening the channel. Also RTL app is good, but still you canā€™t see how much fee in total you are paying. So use one of these 3 interfaces and go to open channels. Select a node desired and put at least 500k-1M sats and open a channel. Start with one good node (see https://ln.bigsun.xyz or https://1ml.com ) which node has longest history or number of channels) and later continue with other users nodes. Help new users that post their new nodes URI in the Umbrel Community Telegram group and ask for new channels. TOGETHER STRONGER.

  • Once you open a LN channel, until is not confirmed (usualy takes 3 confirmations) the UTXO from where you used the sats to open the channel will not be usable until is not confirmed the new UTXO. See here what means UTXO. In other words, until is not confirmed, you cannot use those remaining sats for opening a new channel. Wait. Be patient.

  • Balance your LN channels. You can use the Umbrel app Thunderhub to open and balance your channels with the peers. This will provide a better routing for your txs and also for other users txs that are routing throuhj your node. Here you have a simple guide using Thunderhub. Another option could be: open a channel towards a peer, letā€™s say 1M sats. Then once is open, go and make a payment to an external wallet (for example Bluewallet) with half of the balance. In this way you are balancing the channel for in and out txs. Optional, you can loop out from the same channel, back to your onchain node wallet and re-use that amount to open another channel with another peer.

  • Are you going to do some shopping with LN? Good, then go and open channels with those merchants you are planning to buy from. In this way, you get to pay less fees, your txs will get through faster, you help also the merchants to have better inbound. Optional you can ask them to lower the fees for your channel. Even if you are not planning to do that shopping with them, doesnā€™t matter, just open the channels. It will be used also for routing, if there are with a good amount.

  • Video Tutorials about how to open/fund LN channels:

  • Lightning Network Ring of Fire - Interesting group to create a ring of nodes, opening channels to each others. Here is a better explanation of how this works. If you want to join their Telegram group and participate in different types of rings, here is the link

  • LN Balanced Channels - another Telegram group for opening channels and help others with liquidity. Here is the link to their group.

  • Wait for the opening channel to be confirmed (usually 3 confirmations) and done, you are ready to start lightning, using the wallets I indicated before.

VI. In closing

I hope that this mini-guide will help you as a noob to start using your node. Slowly educate yourself and find your own best way to use your node.
There are many other things to do with a node, also many other apps and usages, but this is just the beginning.

HAPPY LIGHTNING!

36 Likes

Very informative read. Canā€™t wait til sync is finished and I can setup the lightning network. Stoked!

Maybe two more tutorials to include, I enjoyed them both a lot:

3 Likes

A few more links:

Awesome info! :raised_hands:

Didnā€™t see it linked above, so I figured Iā€™d add that Lightning Labs also has a fantastic guide called Managing Liquidity on the Lightning Network ā€“ and their entire Builderā€™s Guide to the LND Galaxy seems really well done.

1 Like

I couldnā€™t edit anymore the main post, to add more links (that was my intention). So I created another post with more links here

1 Like

Is it possible, via Spectre or otherwise, to use a hardware wallet as the umbrel hot wallet?

Very good resourceā€¦ Thanks!

Hi,

Yeah I think the confusion is coming from loop. You are correct with how itā€™s supposed to work; you send funds on lightning though one of your channels (in this case the one to ACINQ) to the LOOP node and they send you the funds back (minus a fee) to your onchain wallet. This swap is atomic, meaning the lightning payment only happens if the on chain transaction works.

Can you have a check again in your Bitcoin wallet for the missing funds? You may of missed it because you werenā€™t expecting the fees. Most channels to LOOP have fairly high rates to recoup costs for the liquidity drain.

@Reach thank you for your response. I have looked thoroughly at my wallet and am sure I donā€™t see this looped deposit. Iā€™m about to fly so will be in flight mode. Will take a closer look when landed and will also take a look at details through Thunderhub to see where everything was sent and will post back how I go. :pray::pray: :pray:

I think the ā€œNode not foundā€ just a bug where it doesnā€™t recognize LOOP was the final destination and it looks like your transaction to LOOP did go though. In Thunderhub, can you check your Chain transactions to see if you received a similar sized amount at the same time?

@Reach, very sure that I did not receive a similar amountā€¦ Iā€™m really stumped and am having a lot of trouble making sense of this. Not sure what to do. (I removed the screenshots) :weary::weary: So sorry to be a bother about this, I really do have a lot of hope for this tech, but Iā€™m also worried when sats seem to disappear. :pray::pray:

Is it better for me to open a seperate topic on this? Iā€™m just aware that I donā€™t want to flood this topic @DarthCoin with just this issue.

Yeah, may be best having a separate topic to get the attention it needs and help others with similar issues. Iā€™m out of ideas on how to proceed. Hopefully someone with better understanding of loop can help trace back the issue.

Just to show you the ā€œNode not foundā€ thing. Hereā€™s a loop out Iā€™ve done in the past and the onchain transaction I got back.

Hi @Reach, would you mind if I opened a channel with you and if you opened back and then maybe let me run through the loop functions to help me get confident on it. Iā€™m just a bit nervous to try it like I did with public channels who I have no communication with. Does that make sense? Cheers

Here is my lightning address if you are ok with that. I can open a 1ML sats channel

02d550db4944f42099cd03d882b4021b17a6edaed37579f94625d78151142e0b87@tofzeyaa4pz4p6if7rlggrwi32lcy74hfgirsqqme6367dx6jhdrzsqd.onion:9735

No worries. Channel opening your way. Just FYI though,
balancing can be weird with 2 channels to a node. I guess it depends on if the balancing goes by channels or nodes.
Also if we have 2 channels open, having balance 100% either side allows bigger payments to be routed.

@Reach ok, not sure what you mean about weird with balancing but Iā€™m willing to give it a go to learn :smile:

By the way. Is there a way to direct message you in the getumbrel community? Rather than to broadcast everything or should we just open a new topic??

Iā€™ll have a go opening a channel your way too then

Solved

1 Like

Hi @DarthCoin,
A Wicked introduction! top marks there mateā€¦

The last time I was doing anything remotely to do with Bitcoin nodes hands on was a project I worked on back in like 2013/14ā€¦ So, I seriously appreciate this refresher course/resources, if you willā€¦

I stumbled upon this great Youtube lecture by Tadge Dryja from MIT OpenCourseWare its License: Creative Commons, I hope its ok to share here for others to learn from.

#13 - Payment Channels and Lightning Network
Youtube MIT OpenCourseWare #13 Payment Channels and Lightning Network

There are others in the course playlist btw.
Hope this helps.

FYI: I havenā€™t had a chance to read the Umbrel community ToS completely just yet, however I do get the gist of what the Doā€™s and Dontā€™s are.

My Node is nearly 100% synced I am in a rush to consume as much info on LN and node management as possible.

Nice work on this thread & Loads of really helpful knowledge.
Cheers

2 Likes

Just what the doctor ordered! Thank you.