> 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/useful-info/crypto-and-drainers-explained-for-beginners.md).

# Crypto and Drainers: Explained for Beginners

#### What is Cryptocurrency

Think about normal money, like pounds or dollars. It sits in a bank, the bank knows exactly who you are, where you live, and they can freeze your account with a single click.

Cryptocurrency is just digital money that doesn't live in a bank, it lives on a blockchain. A blockchain is basically a massive, public ledger that records every single transfer, and nobody can fake it. The main difference? No middleman. No bank. You are your own bank.

A wallet is like your bank account, but you don't need a passport to open it. It has two parts:

* Public Address: Like your bank card number. You can give this to anyone so they can send you cash.
* Private Key / Seed Phrase: Like your PIN code. Whoever knows this owns the money. If you lose it, your funds are gone forever. No support team is saving you.
* USDT (Tether): The most popular crypto around. 1 USDT is always worth 1 dollar. It doesn't bounce around in value like Bitcoin. It's what people actually use to store and move money.
* TRC-20: The network or "road" that USDT travels on. There are different networks: ERC-20 (Ethereum, which is slow and costs 5$ to 20$ in gas fees) and TRC-20 (Tron, which is fast and only costs 1$ to 3$). Most everyday traders use TRC-20 because it's way cheaper.
* TronLink, Trust Wallet, SafePal: Just the wallet apps you install on your phone or browser. Like your banking app, but for crypto.

#### What is a Smart Contract (The Approve)

This is the core bit you need to understand.

Crypto isn't just for basic transfers like "send 100$ to Dave." It also runs smart contracts, which are just tiny programs sitting on the blockchain.

When you use a crypto service - like a swap, a staking platform, or a DeFi app - it asks you to sign a transaction. It’s like putting your signature on a digital contract. You just hit "Confirm" in your wallet app.

One specific type of signature is called an approve. When you sign it, you are basically saying: "I give this contract permission to manage my USDT." Once you hit confirm, that contract can pull money out of your wallet automatically without asking you again.

This is a standard feature. Every legit crypto exchange and DeFi platform uses it to function. But it's exactly what drainers exploit.

#### What is a Drainer

A drainer is just a script (a bit of code) that pretends to be a legit crypto platform to trick someone into signing an approve transaction.

Here is exactly how it plays out step-by-step:

1. The Bait (The Landing Page): Someone sets up a site that looks identical to a real crypto service. For example:
   * "Check your wallet health on our AML scanner"
   * "Claim your free token airdrop"
   * "Stake your USDT for 15% fixed APY"
   * "Rent cheap Tron energy here"

     The site looks professional with clean design, proper logos, and fake reviews. A regular user won't spot the difference.
2. Connecting the Wallet: The user clicks a big "Connect Wallet" button on the site. They choose their app (TronLink, Trust Wallet, whatever) and log in. This step is still safe; connecting just lets the site see your address and how much crypto you have.
3. Signing the Approve: The site then prompts them: "To run the scan / claim the tokens, hit confirm." A pop-up appears inside their wallet app. The user just clicks "Sign" or "Confirm."

   Right there, they’ve signed the approve. They just handed the drainer contract full, unlimited access to their USDT balance.
4. The Sweep (The Drain): The second that signature hits the blockchain, the drainer script sees it: "Right, this wallet has 500 USDT, and the approve is live." It automatically sweeps every cent out of their wallet and sends it to the operator. It happens instantly. No extra confirmations needed.

#### The Roles in the Game

* The Developer (Dev): The guy who actually writes the drainer code, sets up the backend bots, builds the landing templates, and manages the admin panel. They sell access to the software as a service (SaaS) and take a cut of every single hit (usually around 10% to 20%).
* The Operator (Worker): The person doing the actual legwork. Their job is to:
  * Pick a angle (AML check, airdrop, swap, etc.)
  * Buy a domain and host the landing page
  * Drive traffic (get real people to visit the site)

    Once a victim signs the approve, the code does the rest automatically, and the worker gets their split of the cash sent to their clean wallet.
* Traffic: Just means the users. The more people you get to visit the landing page and connect, the more you make. That’s why knowing how to get traffic is the absolute number one skill here.

#### Why It Works So Well

* The websites look completely genuine.
* People never actually read what they are signing. Wallet pop-ups are full of complex text and small fonts, so users just skip through them.
* Fear ("your wallet is going to get banned, run an AML check") or greed ("free 500$ airdrop") completely bypasses people's common sense.
* An approve request looks totally harmless. It doesn't show a specific amount of money being moved, it just looks like a standard "permission" screen.

#### A Simple Analogy

Imagine walking down the high street and seeing an office with a massive sign saying: "Free Bank Card Fraud Check." You walk in, and the guy behind the desk says: "Just pop your debit card in this machine and type your PIN so we can verify it's safe." You type it in, and they instantly clean out your account.

A drainer is exactly that, just shifted into the digital world.


---

# 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/useful-info/crypto-and-drainers-explained-for-beginners.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.
