# Scrub

## 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!

[**Wallets supporting LNURL**](https://github.com/fiatjaf/awesome-lnurl#wallets)

## Usage

1. Create an scrub (New Scrub link)\
   ![create scrub](https://i.imgur.com/LUeNkzM.jpg)

   - 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!

2. A new scrub will show on the _Scrub links_ section\
   ![scrub](https://i.imgur.com/LNoFkeu.jpg)

   - 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)

3. On your wallet, you'll see a transaction of a payment received and another right after it as apayment sent, marked with **#scrubed**\
   ![wallet view](https://i.imgur.com/S6EWWCP.jpg)
