pull down to refresh

https://m.stacker.news/53557


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.

https://m.stacker.news/53691

1.1 External guides

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

https://m.stacker.news/53691

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!

https://m.stacker.news/53691

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.

https://m.stacker.news/53569
https://m.stacker.news/53691

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.

https://m.stacker.news/53689
https://m.stacker.news/53691

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:

https://m.stacker.news/53576
https://m.stacker.news/53691

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:

https://m.stacker.news/53577


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,

https://m.stacker.news/53578
https://m.stacker.news/53691

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.

https://m.stacker.news/53435
https://m.stacker.news/53691


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!

https://m.stacker.news/53586


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.

IMO stuff that's offline. Not everything needs to connect to an app or a remote server. I mean both physical gadgets but also a lot of apps that could just work offline.

reply

Ha! And I bet your friend was already a pretty adept dev. For someone like me, who's been out of the game for a decade, it is a fucking godsend -- 10x, for real, no lie, no exaggeration. I imagine that will asymptote as I stay in the game, but son of a bitch, it's science fiction and people are blase about it.

To say nothing of the other ways that I use it that are basically infinitely better because they are taking the place of nothing. But whatevs, I'm happy if fewer people are competing with me becoming even better at the things that I'm already good at. I'll eat that pie, too :)

reply