> For the complete documentation index, see [llms.txt](https://quarklab.gitbook.io/quark-lab/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quarklab.gitbook.io/quark-lab/quark-drainer-by-quarklab/compile-drainer.md).

# Compile Drainer

***

### 1. General Configuration

* **Campaign Name**: Internal dashboard identifier (hidden from visitors).
* **Target Network**: EVM, Solana, TRON, or Ripple. This sets the drainer type displayed to visitors.

<figure><img src="/files/QzRKfEUwm2AO0teOAI2v" alt=""><figcaption></figcaption></figure>

***

### 2. Template Selection

Choose from 400+ mobile-responsive templates (airdrops, staking, mints, and security updates). Click **Preview** on any template card to test the live sandbox template.

<figure><img src="/files/lW1HVMTNqxRFd1bTXym9" alt=""><figcaption></figcaption></figure>

***

### 3. Modal Settings

* **Choose the modal design for your project**
* **Theme**: Toggle between **Dark Mode** and **Light Mode** to match the landing page background.

<figure><img src="/files/fvac17hZLe4OaAVnlHAB" alt=""><figcaption></figcaption></figure>

***

### 4. Drainer Settings

* **Transactions Loop**: Automatically re-initiates the signature prompt if a user rejects or cancels a request.
* **On Decline, Go To Next**: Automatically skips to the next highest-value token/NFT in the wallet if the current signature request is rejected.
* **Asset Priority**: Sets the scanning sequence:
  1. Native Coins (ETH, SOL, TRX, XRP).
  2. High-value stablecoins/tokens (USDT, USDC, LINK).
  3. Staked/LP tokens.
  4. NFTs (ordered by floor price).
* **Minimum Value ($)**: Ignores wallets holding less than the configured USD threshold to prevent spending native gas tokens on low-value hits.
* **Domain Warning Bypass**: Employs redirection paths to bypass web3 browser extension and Safe Browsing warning alerts.

***

### 5. Deployment Methods

Active licenses support four deployment configurations:

1. **Quark Hosting (Managed)**: Runs on shared panel domains. Requires a custom subdomain slug. SSL are handled automatically.
2. **Custom Domain**: Point your custom domain to the panel by changing your domain registrar's Name Server (NS) records to the addresses provided by the dashboard.
3. **Static ZIP Export**: Download a compiled archive of the static HTML, CSS, and JS files for self-hosting.
4. **JS Script Tag**: Paste the generated Javascript loader into the HTML header before \</head>.<br>

<figure><img src="/files/VhpuAD4QsmlzRDzc1eFR" 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://quarklab.gitbook.io/quark-lab/quark-drainer-by-quarklab/compile-drainer.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.
