All about Token Trasher
The Token Trasher xApp is a utility that allows you to:
remove unwanted tokens from your XRP Ledger account
delete unwanted Trust Lines from your XRPL account
This xApp gives you the ability to swap your tokens for XRP (if applicable), send any left over tokens back to the token issuer and remove unwanted Trust Lines.
Click here to launch the Token Trasher or you can manually launch it in Xumm by pressing then choosing and select it from the list.
Unfortunately no. The XRP Ledger does not allow batch signing. This means that you can only remove one Trust Line at a time.
Yes. Once your Trust Line has been removed, the 2 XRP held in reserve by the XRPL will be made available for spending.
No. The Base Reserve is a minimum amount of XRP that is required for each address in the ledger. The only way to recover the base reserve is to delete your account from the XRPL.
How to delete an account from the XRP Ledger
The developer for this xApp can be reached via Twitter at:
Using Token Trasher to get rid of unwanted tokens
The Token Trasher xApp uses two methods to dispose of unwanted tokens:
It can try to exchange them on the XRPL DEX for XRP
It can try to send them back to the issuing account (effectively destroying them)
Removing a Trust Line using Token Trasher
Before you can remove a Trust Line, it must be empty. (This means that the Trust Line can not contain any tokens.) If you need help getting rid of tokens in your Trust Line, skip down to the section on using Token Trasher.)
Xaman provides a way to remove Trust Lines in the application.
1) In Xaman, tap the Trust Line. (In this example, we are removing the Elysian Trust Line.)
2) Press the 'Remove token' button.
3) Press the 'Yes, I'm sure' button.
4) Sign the transaction is Xaman.
When you launch the Token Trasher xApp, you should see a list of the Trust Lines in your account:
In this case we'll remove the Schmeckles Trust Line by pressing the Remove button beside it.
Token Trasher will indicate that the Trust Line is empty and eligible to be removed. Press the Next button.
Press the Remove Trustline button to proceed.
Token Trasher will craft a transaction to remove the Trust Line and display it for your review. Press the Slide to accept button and slide to the right. After entering your passcode/password, you should see confirmation that the Trust Line has been removed and the 2 XRP owner reserve has been released to your account! 🎉