lnbits-legend/lnbits/extensions/scrub/README.md

31 lines
1.3 KiB
Markdown
Raw Normal View History

2022-06-22 17:46:15 +02:00
# Scrub
2022-05-17 21:27:52 +02:00
2022-06-22 17:46:15 +02:00
## Automatically forward funds (Scrub) that get paid to the wallet to an LNURLpay or Lightning Address
2022-05-17 21:27:52 +02:00
2022-06-22 17:46:15 +02:00
SCRUB is a small but handy extension that allows a user to take advantage of all the functionalities inside **LNbits** and upon a payment received to your LNbits wallet, automatically forward it to your desired wallet via LNURL or LNAddress!
2022-05-17 21:27:52 +02:00
<small>Only whole values, integers, are Scrubbed, amounts will be rounded down (example: 6.3 will be 6)! The decimals, if existing, will be kept in your wallet!</small>
2022-05-17 21:27:52 +02:00
[**Wallets supporting LNURL**](https://github.com/fiatjaf/awesome-lnurl#wallets)
## Usage
1. Create an scrub (New Scrub link)\
2022-06-22 17:46:15 +02:00
![create scrub](https://i.imgur.com/LUeNkzM.jpg)
2022-05-17 21:27:52 +02:00
2022-06-22 17:46:15 +02:00
- select the wallet to be _scrubbed_
2022-05-17 21:27:52 +02:00
- make a small description
2022-06-22 17:46:15 +02:00
- enter either an LNURL pay or a lightning address
Make sure your LNURL or LNaddress is correct!
2. A new scrub will show on the _Scrub links_ section\
![scrub](https://i.imgur.com/LNoFkeu.jpg)
2022-06-22 18:04:23 +02:00
2022-06-22 17:46:15 +02:00
- only one scrub can be created for each wallet!
- You can _edit_ or _delete_ the Scrub at any time\
![edit scrub](https://i.imgur.com/Qu65lGG.jpg)
2022-06-22 18:04:23 +02:00
2022-06-22 18:08:08 +02:00
3. On your wallet, you'll see a transaction of a payment received and another right after it as apayment sent, marked with **#scrubed**\
2022-06-22 18:04:23 +02:00
![wallet view](https://i.imgur.com/S6EWWCP.jpg)