> For the complete documentation index, see [llms.txt](https://shenlong-whitepaper.gitbook.io/shenlong-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shenlong-whitepaper.gitbook.io/shenlong-protocol/the-arsenal-scanning-and-recovery.md).

# The Arsenal: Scanning & Recovery

## The Command Center: Scan & Recover

The core mission of the Shenlong Protocol is to provide powerful, professional-grade utility tools that demystify complex blockchain data and empower users to regain absolute control over their capital.

Our primary suite, accessible via the Command Center, consists of two highly optimized tools designed for speed and efficiency on the Solana network, powered by Helius RPCs.

#### 1️⃣ The Wallet Scanner

This tool is the direct interface between the user and the blockchain state. By connecting a supported Solana wallet (Phantom, Solflare, etc.), the Scanner performs a comprehensive, real-time audit of all Associated Token Accounts (ATAs).

It identifies two types of capital bleed:

1. Empty Ghost Accounts: ATAs that hold 0 units of a token but still lock the mandatory Rent Exemption fee.
2. Rugged Tokens & Junk: Specific tokens, selected from our curated junk token database, that the user wishes to burn for capital recovery.

Once identified, users can utilize the "Burn & Claim" function. This executes the `createCloseAccountInstruction` from the SPL Token program, permanently closing the selected ATAs and instantly refunding the recovered SOL deposit directly to the user’s available balance.

<figure><img src="https://3684061928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gFc5tEI468JNjsiP11C%2Fuploads%2FOzU9CwMuvWHNI3cK9yJC%2FCaptura%20de%20ecra%CC%83%202026-03-16%2C%20a%CC%80s%2009.01.39.png?alt=media&amp;token=fdd6ec55-29fc-445c-814c-3766ed9d5eb7" alt=""><figcaption></figcaption></figure>

#### 2️⃣ The Rent Auditor

This visualizer tool offers unparalleled transparency regarding any specific token’s network state. It shifts the perspective from a single user to a macro, community-wide analysis.

Users simply paste any Contract Address (CA) of a Solana SPL token. The Rent Auditor then generates a dynamic, force-directed graph (visualization) of the entire token ecosystem.

How to read the Audit Map:

* 🟢 Green Dots: Represent active token holders who currently possess a balance of the token.
* 🔴 Red Dots: Represent Zombie Accounts. These are users who purchased and subsequently sold the token but never closed the empty Associated Token Account.

By analyzing this data, the Rent Auditor calculates the precise amount of SOL trapped by the specific token community, demonstrating the utility of the protocol in real-time.

***

*The Rent Auditor visualizing the network state of the $POPCAT token ecosystem, showcasing the vast difference between active holders (green) and abandoned zombie accounts (red). Over 375,000 wallets hold empty $POPCAT accounts, trapping nearly 1,000 SOL.*

<figure><img src="https://3684061928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gFc5tEI468JNjsiP11C%2Fuploads%2FM2HkjflDWi4Y06kOQxM9%2FCaptura%20de%20ecra%CC%83%202026-03-15%2C%20a%CC%80s%2017.42.02.png?alt=media&amp;token=857e7295-822d-4b8b-8dcf-144cb41b9185" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://shenlong-whitepaper.gitbook.io/shenlong-protocol/the-arsenal-scanning-and-recovery.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
