0.0 Intro:

Welcome, stackers and newbies! The aim of this third guide is to help you step-by-step to connect your LNbits wallet to Stacker.News (SN). This integration will enable you to seamlessly autowithdraw your sats and become a sovereign bitcoiner. Believe it or not, it will be not that technical like the phoenixd integration guide, and even simpler than attaching Coinos wallet.

1.0 Requirements:

Note: As mentioned above, you'll need to have your own LNbits instance, self-hosted is the ideal solution to keep your stash safe from any cutodial inconveniences. For the purposes of this guide, and just as an example, I'll be using a d̲e̲m̲o̲.̲l̲n̲b̲i̲t̲s̲.̲c̲o̲m̲ account ONLY as showcase playgraund, do NOT use it yourself as your precious sats could be at risk, seriously! It will work exactly in the same way when run LNbits in your server or bitcoin lighting node.

1.1 External guides

If you need some more guidance learning about LN and LNbits, reading @Darthcoin guides is highly recommended:

1.2 Self-hosted options

Just as a reminder, LNbits is available on all and every LN nodes management systems on the internet. SThe most common and trusted ones are MyNode, RaspiBlitz, Start9, Umbrel.
Whatever implementation you chose, search and download the app or if not available you can alternatively install it from the source code hosted in github repository, it's open-source!
Now, assuming you are set with your SN account, Lightniing node, and LNbits instance running, let's start!

2.0 Obtain Your LNbits Wallet API Keys

First thing first, you'll need to create a LNbits admin user from where you'll be able to manage the node and any other subaccounts (if needed). The username picked will become the name of your default wallet, in this example Stacker News.
Important! You must save your login credentials to be able to access your wallet again. If you lose them, you will lose access to your wallet and funds. Set up your username on your ACCOUNT SETTINGS page and then click the [SET PASSWORD] button. Make sure you save it in a safe place, and let's go back to the wallet.
To connect your LNbits wallet to Stacker.News, you'll need to obtain your wallet's details. A default wallet is created during the signup process, so the only thing you need to do is to retrieve the credentials under the Node URL, API keys and API docs tab at the bottom of the right sidebar.
You'll see there the following in the order SN requires it:
  1. Node URL: https://demo.lnbits.com
  2. Invoice/read key: ****************
  3. Admin key: ****************
Keep this tab open and...

3.0 Access Stacker.News Wallet Integration Page

After login, open your SN's user menu and navigate to the "Wallets" section, then click on the big blue [attach wallet] button:
You'll see at the bottom the LNbits card, click on its [attach 🔌] button also accessible from this link https://stacker.news/settings/wallets/lnbits:

4.0 Fill in the LNbits Wallet Details

On the LNbits wallet connection page, enter the information details from your LNbits wallet mentioned in step 2.0. Double check you insert the information with the correct order as follows:
  1. lnbits url on SN = Node url from LNbits,
  2. invoice key for receiving on SN = Invoice read/key from LNbits,
  3. admin key for sending on SN = Admin key from LNbits,
We are nearly there... just make sure to set:
  • desired balance = 0,
  • max fee to a min of 1% and...
  • . ... click on the yellow [ attach ] button.

5.0 Congratulations, stackers!

You just did your first step into bitcoin sovereignty! Your sats now should be landing directly in your Lightning node. Happy stacking!

PS: Let us know how you go with this and if there's any way we can improve this guide. In case you get an error in the logs after clicking the attach button, report it in a comment below and we'll try to figure out what's wrong.

Very nice guide and well structured! Thanks!
reply
Nice again!!! Sorry.
reply
Thanks It could have been simpler and less texty. It's maybe good to provide some context.
reply
Thank you so much! Very impressive brother. You're bringing one daily and all us ignorant so wise.
reply
Thanks! hopefully to incentivize sovereignty!
reply
sound on
reply
SHHHHHH! Please keep the loud noise down over there.
reply
🤣🤙⚡️🧡
reply
Very well written. Precisely comprehensive! It's so good you've taken the initiative. I've never used LnBit before but now I can.
reply
It has so many functionalities. If you are running a node is definitely worth to install it and play around just to have an idea of its capabilities.
It works really well when you have it in a public node attached to an IP or a domain, offering so many plugins to play with. Kinda wordpress for Lightning!
reply
Great guide. Thanks! I don't want to speak for everyone, but I'm at the point where I have many options to choose from in connecting a wallet to SN. Will there come a time when we will be able to rank them as options re reliability? There seems to be a general consensus that NWC is most reliable. LNC has its problems, as I have experienced first hand. I have little knowledge of LNbits, but I have heard negative things from some. You seem to have a wide range of knowledge. Do you have preferences yet?
reply
Yes, NWS has been mentioned in the comments of all guides, maybe because us the new one ad there's a lot of excitement around it. LCN depends on the node, to make it work the node need to be well-connected, specifically to SN is probably worth just opening a channel to SN node and rebalance it as needed.
Personally I still not have a preference yet, I am still testing as I write these guides and specifically the connections with SN to, as you said, rank the options and evaluate the most reliable. Every case is different anyway, hope this guides will provide a good point to other stackers to test and provide feedback.
I'll be interested to know what you have heard about LNbits, this post sounds the right place to open the conversation and share our thoughts.
reply
Thanks for the reply. I think we are all learning a lot from you. Re LNbits, as I said, I have never used it and know nothing about it. I know recently a few stackers here spoke about it negatively. I don't recall who. I hope people chime in.
reply
I'll search around, just for curiosity
reply
lnbits is awesome but only usable over tor from a start9 for now, so far i have never been able to successfully connect my lnbits wallet to stacker news, the concensus when i share seems to just be tor connectivity issues.
reply
Thanks for the guide. Will test it later in the day.
reply
Thanks for the share! Will try it for sure.
reply