mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-10 09:19:42 +01:00
chore: fix some typos for docs (#2384)
Signed-off-by: redistay <wujunjing@outlook.com>
This commit is contained in:
parent
ef6bc4c3ae
commit
073b117528
3 changed files with 5 additions and 5 deletions
|
@ -42,7 +42,7 @@ Extension structure explained
|
||||||
Adding new dependencies
|
Adding new dependencies
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
DO NOT ADD NEW DEPENDENCIES. Try to use the dependencies that are availabe in `pyproject.toml`. Getting the LNbits project to accept a new dependency is time consuming and uncertain, and may result in your extension NOT being made available to others.
|
DO NOT ADD NEW DEPENDENCIES. Try to use the dependencies that are available in `pyproject.toml`. Getting the LNbits project to accept a new dependency is time consuming and uncertain, and may result in your extension NOT being made available to others.
|
||||||
|
|
||||||
If for some reason your extensions must have a new python package to work, and its nees are not met in `pyproject.toml`, you can add a new package using `poerty`:
|
If for some reason your extensions must have a new python package to work, and its nees are not met in `pyproject.toml`, you can add a new package using `poerty`:
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ $ poetry add <package>
|
||||||
```
|
```
|
||||||
|
|
||||||
**But we need an extra step to make sure LNbits doesn't break in production.**
|
**But we need an extra step to make sure LNbits doesn't break in production.**
|
||||||
Dependencies need to be added to `pyproject.toml`, then tested by running on `poetry` compatability can be tested with `nix build .#checks.x86_64-linux.vmTest`.
|
Dependencies need to be added to `pyproject.toml`, then tested by running on `poetry` compatibility can be tested with `nix build .#checks.x86_64-linux.vmTest`.
|
||||||
|
|
||||||
|
|
||||||
SQLite to PostgreSQL migration
|
SQLite to PostgreSQL migration
|
||||||
|
|
|
@ -33,7 +33,7 @@ There is also the possibility of posting the super user via webhook to another s
|
||||||
Admin Users
|
Admin Users
|
||||||
===========
|
===========
|
||||||
environment variable: `LNBITS_ADMIN_USERS`, comma-separated list of user ids
|
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`.
|
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 inaccessible. Also they have access to all the extension defined in `LNBITS_ADMIN_EXTENSIONS`.
|
||||||
|
|
||||||
|
|
||||||
Allowed Users
|
Allowed Users
|
||||||
|
|
|
@ -100,7 +100,7 @@ allow-self-payment=1
|
||||||
|
|
||||||
<details><summary>Configure a comment that people see when paying to my LNURLp QR</summary>
|
<details><summary>Configure a comment that people see when paying to my LNURLp QR</summary>
|
||||||
<p>When you create a LNURL-p, by default the comment box is not filled. That means comments are not allowed to be attached to payments.<p>
|
<p>When you create a LNURL-p, by default the comment box is not filled. That means comments are not allowed to be attached to payments.<p>
|
||||||
<p>In order to allow comments, add the characters lenght of the box, from 1 to 250. Once you put a number there,
|
<p>In order to allow comments, add the characters length of the box, from 1 to 250. Once you put a number there,
|
||||||
the comment box will be displayed in the payment process. You can also edit a LNURL-p already created and add that number.</p>
|
the comment box will be displayed in the payment process. You can also edit a LNURL-p already created and add that number.</p>
|
||||||
|
|
||||||

|

|
||||||
|
@ -150,7 +150,7 @@ allow-self-payment=1
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>Can I configure a name to the payments i make?</summary>
|
<details><summary>Can I configure a name to the payments i make?</summary>
|
||||||
<p>In LNbits this is currently not possible to do - but to receive. This is only possible if the sender's LN wallet supports <a href="https://github.com/lnurl/luds">LUD-18</a> (nameDesc) like e.g. <a href="https://darthcoin.substack.com/p/obw-open-bitcoin-wallet">Open Bitcion Wallet - OBW</a> does. You will then see an alias/pseudonym in the details section of your LNbits transactions (click the arrows). Note that you can give any name there and it might not be related to the real sender´s name(!) if your receive such.</p>
|
<p>In LNbits this is currently not possible to do - but to receive. This is only possible if the sender's LN wallet supports <a href="https://github.com/lnurl/luds">LUD-18</a> (nameDesc) like e.g. <a href="https://darthcoin.substack.com/p/obw-open-bitcoin-wallet">Open Bitcoin Wallet - OBW</a> does. You will then see an alias/pseudonym in the details section of your LNbits transactions (click the arrows). Note that you can give any name there and it might not be related to the real sender´s name(!) if your receive such.</p>
|
||||||

|

|
||||||
</p>
|
</p>
|
||||||
</details>
|
</details>
|
||||||
|
|
Loading…
Add table
Reference in a new issue