# Telegram Bot

This guide provides a step-by-step tutorial on setting up and using the QUACK Telegram Trading Bot, designed as an easy-to-access extension of QUACK's primary swap platform. Tailored for experienced investors familiar with Telegram-based trading and sniper bots, it enables seamless token swaps on Ethereum (ETH) and Solana (SOL) blockchains directly within Telegram.

**Before You Begin: Stay Safe with Telegram and Private Key Best Practices**

To ensure a secure trading experience with the QUACK Telegram Trading Bot, please review these essential resources on Telegram safety and private key management:

* [**QUACK Blog: Telegram Trading Safety Tips**](/quack-swap-docs/blog/welcome-to-our-blog/staying-safe-on-telegram-best-practices-for-secure-messaging.md): Learn how to verify official bots, avoid phishing scams, and secure your Telegram account.
* [**QUACK Blog: Protecting Your Private Keys**:](/quack-swap-docs/blog/welcome-to-our-blog/seed-phrase-vs.-private-key-understanding-the-difference-and-staying-safe.md) Understand best practices for safeguarding your wallet’s private keys or seed phrases, including using hardware wallets and enabling 2FA.
* [QUACK Blog: How to Export your Private Keys: ](/quack-swap-docs/blog/welcome-to-our-blog/how-to-export-your-private-key-from-phantom-wallet-a-quick-2-minute-guide.md)Quick Guide how to export your private keys, required on telegram trading bots require

Reading these will help you trade confidently and securely. Let’s get started!

**Adding the QUACK Telegram Trading Bot**

To use the QUACK Telegram Trading Bot, add it to your Telegram account via one of these methods. Always verify the bot's identity using QUACK's official documentation to avoid scams.

**Method 1: Add via Username**

1. Open Telegram and search for @QuackSwapBot.
2. Select the verified bot and tap "status" or send `/status`.

**Method 2: Add via Link**

1. Click the official invite link:[ QuackSwapBot.](https://t.me/QuantumSwapBot)
2. Open in Telegram and tap "status" or send `/status`.

Importing EVM and Solana Wallets to the QUACK Telegram Trading Bot

**Importing EVM and Solana Wallets to the QUACK Telegram Trading Bot**

After adding the QUACK Telegram Trading Bot, you can connect your Ethereum (EVM) and Solana (SOL) wallets using the `/import` command. Follow these steps to securely import your wallets and verify their balances. Ensure you follow the private key safety practices outlined in the QUACK Blog.

**Importing an EVM Wallet**

1. In the Telegram chat with `@QUACKTradingBot`, type `/import` and send.
2. From the prompts, select **EVM Wallet** as the wallet type.
3. Enter a label for your wallet, e.g., "ETH Trading Wallet".
4. Carefully input your Ethereum wallet’s private key when prompted. Ensure you’re in a secure environment to avoid exposing your key.
5. Upon successful import, you’ll receive a confirmation message: "Your wallet has been successfully imported."
6. Type `/balance` to view your imported wallet(s) and check the balance of your ETH Trading Wallet.
7. Scroll back in the chat and delete the message containing your private key for added security.

**Importing a Solana Wallet**

1. Type `/import` again in the bot chat and send.
2. Select **Solana Wallet** from the prompts.
3. Label your wallet, e.g., "SOL Trading Wallet".
4. Enter your Solana wallet’s private key securely.
5. Once imported, you’ll see: "Your wallet has been successfully imported."
6. Use `/balance` to confirm your Solana wallet’s details and balance.
7. Scroll back in the chat and delete the message containing your private key for added security.

**Removing a Wallet**

To disconnect a wallet from the bot (funds remain safe on the blockchain):

1. Type /remove.
2. Select the wallet to remove (e.g., "ETH Trading Wallet").
3. Confirm removal. Verify with /balance.

**Pro Tip**

For enhanced security, create fresh wallets specifically for Telegram trading bots like QUACK. Periodically transfer significant funds or assets to more secure wallets, such as hardware wallets, to minimize risks associated with online trading environments.

**Next Steps**

Your EVM and Solana wallets are now connected! You can proceed with trading on ETH and SOL blockchains via the bot. For troubleshooting or to ensure secure key management, refer to the QUACK Blog’s guides on private key protection.

**Using the /swap Command in the QUACK Telegram Trading Bot**

The `/swap` command allows you to trade tokens on Ethereum (ETH) and Solana (SOL) blockchains directly within the QUACK Telegram Trading Bot. For safety, especially with your first swap, use a small amount (e.g., SOL to USDC within the same wallet or cross-chain from Solana to an ETH wallet) to practice. Always double-check blockchain and wallet selections to avoid fund loss. Follow private key safety practices from the QUACK Blog.

**Performing a Token Swap**

1. In the Telegram chat with `@QUACKTradingBot`, type `/swap` and send.
2. Select the wallet to swap **from** (e.g., "SOL Trading Wallet" or "ETH Trading Wallet").
3. Choose the **token** you want to swap (e.g., SOL or ETH).
4. Enter the **amount** to swap. For your first swap, use a small value to minimize risk.
5. Select the **destination blockchain** (e.g., Solana for USDC or Ethereum for cross-chain).
6. Choose the **destination token** (e.g., USDC or ETH).
7. Enter the **destination address**. **Critical**: Ensure the blockchain and wallet address match the destination token to avoid losing funds.
8. Confirm the swap details. The bot will process the swap, with timing depending on complexity, as QUACK optimizes for the best price and liquidity.
9. Upon completion, you’ll receive a confirmation: "Swap successful!"

**Pro Tip**

Always start with a small swap amount when using any Telegram trading bot, including QUACK. Create fresh wallets for bot trading and periodically transfer significant funds to secure wallets (e.g., hardware wallets) for safety.

**Next Steps**

You’re ready to trade on ETH and SOL blockchains! For troubleshooting or secure key management, refer to the QUACK Blog’s guides on private key protection.


---

# Agent Instructions: 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:

```
GET https://quack-swap.gitbook.io/quack-swap-docs/technology-and-roadmap/interactive-blocks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
