diff --git a/README.md b/README.md index 0f81b99f..66c98d2f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ LNbits ![Lightning network wallet](https://i.imgur.com/EHvK6Lq.png) -# LNbits v0.9 BETA, free and open-source Lightning wallet accounts system +# LNbits v0.10 BETA, free and open-source Lightning wallet accounts system (Join us on [https://t.me/lnbits](https://t.me/lnbits)) diff --git a/docs/guide/admin_ui.md b/docs/guide/admin_ui.md index 9637a989..95edcb4a 100644 --- a/docs/guide/admin_ui.md +++ b/docs/guide/admin_ui.md @@ -8,7 +8,7 @@ nav_order: 4 Admin UI ======== The LNbits Admin UI lets you change LNbits settings via the LNbits frontend. -It is disabled by default and the first time you set the enviroment variable LNBITS_ADMIN_UI=true +It is disabled by default and the first time you set the environment variable LNBITS_ADMIN_UI=true the settings are initialized and saved to the database and will be used from there as long the UI is enabled. From there on the settings from the database are used. @@ -32,14 +32,14 @@ There is also the possibility of posting the super user via webhook to another s Admin Users =========== -enviroment variable: LNBITS_ADMIN_USERS, comma-seperated list of user ids -Admin Users can change settings in the admin ui aswell, with the exception of funding source settings, because they require e server restart and could potentially make the server inaccessable. Also they have access to all the extension defined in LNBITS_ADMIN_EXTENSIONS. +environment variable: LNBITS_ADMIN_USERS, comma-separated list of user ids +Admin Users can change settings in the admin ui as well, with the exception of funding source settings, because they require e server restart and could potentially make the server inaccessable. Also they have access to all the extension defined in LNBITS_ADMIN_EXTENSIONS. Allowed Users ============= -enviroment variable: LNBITS_ALLOWED_USERS, comma-seperated list of user ids -By defining this users, LNbits will no longer be useable by the public, only defined users and admins can then access the LNbits frontend. +environment variable: LNBITS_ALLOWED_USERS, comma-separated list of user ids +By defining this users, LNbits will no longer be usable by the public, only defined users and admins can then access the LNbits frontend. How to activate diff --git a/docs/guide/extension-install.md b/docs/guide/extension-install.md index c87c4a7a..7cae5900 100644 --- a/docs/guide/extension-install.md +++ b/docs/guide/extension-install.md @@ -100,7 +100,7 @@ It goes under the `extensions` object and it is of the form: |----------------------|---------------|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------| | id | string | mandatory | The ID of the extension. Must be unique for each extension. It is also used as the path in the URL. | | name | string | mandatory | User friendly name for the extension. It will be displayed on the installation page. | -| version | string | mandatory | Version of this release. [Semantic versoning](https://semver.org/) is recommended. | +| version | string | mandatory | Version of this release. [Semantic versioning](https://semver.org/) is recommended. | | shortDescription | string | optional | A few words about the extension. It will be displayed on the installation page. | | icon | string | optional | quasar valid icon name | | details | string (html) | optional | Details about this particular release | diff --git a/docs/guide/faq.md b/docs/guide/faq.md index 1ccf3e28..2cfc3b11 100644 --- a/docs/guide/faq.md +++ b/docs/guide/faq.md @@ -33,7 +33,7 @@ allow-self-payment=1
Which funding sources can I use for LNbits? -

There are several ways to run a LNbits instance funded from different sources. It is importan to choose a source that has a good liquidity and good peers connected. If you use LNbits for public services your users´ payments can then flow happily in both directions. If you would like to fund your LNbits wallet via btc please see section Troubleshooting.

+

There are several ways to run a LNbits instance funded from different sources. It is important to choose a source that has a good liquidity and good peers connected. If you use LNbits for public services your users´ payments can then flow happily in both directions. If you would like to fund your LNbits wallet via btc please see section Troubleshooting.

The LNbits manual shows you which sources can be used and how to configure each: CLN, LND, LNPay, Cliche, OpenNode as well as bots.

@@ -47,7 +47,7 @@ allow-self-payment=1

When you run your LNbits in clearnet basically everyone can generate a wallet on it. Since the funds of your node are bound to these wallets you might want to prevent that. There are two ways to do so:

Please note that all entries in the .env file will not be the taken into account once you activated the admin extension.

@@ -112,7 +112,7 @@ allow-self-payment=1 @@ -173,7 +173,7 @@ allow-self-payment=1
POS Terminal - an offline terminal for merchants -

The LNpos is a self-sufficient point of sale terminal which allows offline onchain payments and an offline Lightning ATM for withdrawals. Free and open source software, free from intermediaries, with integrated battery, WLAN, DIY. You can get the 3D print as well as the whole kit from the LNbits shop from 👇 Ressources. It allows +

The LNpos is a self-sufficient point of sale terminal which allows offline onchain payments and an offline Lightning ATM for withdrawals. Free and open source software, free from intermediaries, with integrated battery, WLAN, DIY. You can get the 3D print as well as the whole kit from the LNbits shop from 👇 Resources. It allows

  • LNPoS Online interactive Lightning payments
  • LNURLPoS Offline Lightning Payments. Passive interaction, sharing a secret as evidence
  • OnChain For onchain payments. Generates an address and displays a link for verification
  • @@ -192,7 +192,7 @@ allow-self-payment=1
    Bitcoin Switch - turn things on with bitcoin -

    Candy dispenser, vending machines (online), grabbing machines, jukeboxes, bandits and all sorts of other things have already been build with LNbits´ tools. Further info see 👇 Ressources.

    +

    Candy dispenser, vending machines (online), grabbing machines, jukeboxes, bandits and all sorts of other things have already been build with LNbits´ tools. Further info see 👇 Resources.

    Bildschirm­foto 2023-01-20 um 18 11 55

    @@ -209,7 +209,7 @@ allow-self-payment=1
    @@ -222,7 +222,7 @@ allow-self-payment=1
    Swapping ⚡️LN BTC to a BTC address -

    LNbits has two swap extensions integrated: Boltz and Deezy.

    +

    LNbits has two swap extensions integrated: Boltz and Deezy.

    For a merchant that uses LNbits to receive BTC payments through LN, this is very handy to move the received sats from LN channels into onchain wallets. It not only helps you HODLing but is also freeing up "space in your channels" so you are ready to receive more sats.

    Boltz has an option to setup an automated swap triggered by a certain amount received.

    diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 905e879a..b5c7f6f2 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -405,7 +405,7 @@ service restart apache2 ## Using https without reverse proxy The most common way of using LNbits via https is to use a reverse proxy such as Caddy, nginx, or ngriok. However, you can also run LNbits via https without additional software. This is useful for development purposes or if you want to use LNbits in your local network. -We have to create a self-signed certificate using `mkcert`. Note that this certiciate is not "trusted" by most browsers but that's fine (since you know that you have created it) and encryption is always better than clear text. +We have to create a self-signed certificate using `mkcert`. Note that this certificate is not "trusted" by most browsers but that's fine (since you know that you have created it) and encryption is always better than clear text. #### Install mkcert You can find the install instructions for `mkcert` [here](https://github.com/FiloSottile/mkcert). diff --git a/lnbits/settings.py b/lnbits/settings.py index 75c20a9a..e68ba584 100644 --- a/lnbits/settings.py +++ b/lnbits/settings.py @@ -88,7 +88,7 @@ class ThemesSettings(LNbitsSettings): class OpsSettings(LNbitsSettings): - lnbits_baseurl: str = Field(default="http://127.0.0.1/") + lnbits_baseurl: str = Field(default="http://127.0.0.1:5000/") lnbits_reserve_fee_min: int = Field(default=2000) lnbits_reserve_fee_percent: float = Field(default=1.0) lnbits_service_fee: float = Field(default=0) @@ -374,9 +374,9 @@ except: settings.lnbits_commit = "docker" -# printing enviroment variable for debugging +# printing environment variable for debugging if not settings.lnbits_admin_ui: - logger.debug("Enviroment Settings:") + logger.debug("Environment Settings:") for key, value in settings.dict(exclude_none=True).items(): logger.debug(f"{key}: {value}")