Automatically forward funds (Scrub) that get paid to the wallet to an LNURLpay or Lightning Address
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!
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!
Usage
Create an scrub (New Scrub link)

- select the wallet to be scrubbed
- make a small description
- enter either an LNURL pay or a lightning address
Make sure your LNURL or LNaddress is correct!
A new scrub will show on the Scrub links section

- only one scrub can be created for each wallet!
- You can edit or delete the Scrub at any time

On your wallet, you'll see a transaction of a payment received and another right after it as apayment sent, marked with #scrubed

API Reference
See the Scrub API documentation for endpoint details.
Related Pages
- Scrub API Reference: API endpoints for this extension
- All Extensions: Browse all LNbits extensions
