Discord & Telegram Setup

Discord Token Setup

Connect your Discord account for the Discord Auto Buyer.

Leap’s Discord Auto Buyer monitors selected Discord channels for contract addresses (CAs) and executes trades the moment they’re posted by trusted users. To enable this, you need to link your Discord account by providing your Discord user token.

⚠️ Security Notice

  • Your Discord token provides full access to your account — treat it like a password.

  • Use a dedicated or alt Discord account for scraping.

  • Using user tokens in third-party tools may violate Discord’s Terms of Service. Proceed responsibly.

  • If your token is ever exposed, reset your Discord password immediately to rotate it.


Requirements

  • Browser: Chrome, Brave, Edge, or Firefox

  • Tampermonkey extension installed and enabled

  • Access to the Discord web apphttps://discord.com/app


Step 1 – Install Tampermonkey

  1. Open your browser’s extension or add-on store.

  2. Search for Tampermonkey and click Add / Install.

  3. Confirm the Tampermonkey icon appears in your browser toolbar — this means it’s active.

Step 2 – Add the Userscript

  1. Download the official Leap Get Discord Token userscript from our documentation or support channel.

  2. In your browser, click the Tampermonkey icon → DashboardUtilitiesImport from file.

  3. Select the downloaded .js file.

  4. Once imported, ensure the script is enabled in Tampermonkey.

  5. Keep this browser tab open — you’ll need it for the next step.

Step 3 – Get Your Discord Token

  1. Visit https://discord.com/app and log in with the account you want to link to Leap.

  2. Use Discord normally — open a few channels or settings tabs to trigger network requests.

  3. The userscript will display a pop-up with your Discord authorization token and print it to the console.

  4. A floating panel appears (bottom-right). When a request includes Authorization, it prints a line like: \[fetch] Authorization: YOUR_TOKEN_HERE

  5. Copy the token (everything after Authorization:).

Step 4 – Add the Token to Leap

  1. Open Leap → Accounts → Discord Tokens.

  2. Click Add Token.

  3. Name the account (for example, “Alpha Server” or “Main Discord”).

  4. Paste your Discord token into the token field.

  5. Press Save.

  6. You should now see Discord Token ✅ with a recent “Last Updated” timestamp.

Step 5 – Clean Up & Secure Your Token

  • Open Tampermonkey and disable or delete the userscript.

  • Treat your token like a password — never share or upload it anywhere.

  • If exposed, reset your Discord password to revoke the old token.

  • Optionally, store your token securely in a password manager.

You’re Done!

Your Discord account is now successfully connected. Leap can now monitor the channels you select when creating tasks in the Discord Auto Buyer mode.


Telegram Setup

Connect your Telegram account for the Telegram Auto Buyer.

Leap’s Telegram Auto Buyer scans selected Telegram channels for contract addresses (CAs) and can automatically trade based on your filters and trading profiles.

This setup securely links your Telegram account to Leap, allowing you to monitor and trade directly from channels or groups in real time.


What This Does

  • Securely links your Telegram account (one-time verification).

  • You choose which channels or chats to monitor.

  • When a valid CA appears, Leap can either alert you or auto-buy according to your trading profile.


Highlights

  • Monitor multiple Telegram accounts and channels at once.

  • Use per-channel trading profiles (buy size, slippage, filters, TP/SL, trailing, etc.).

  • Post-author whitelisting and token/keyword blacklists for high-precision signals.

  • Optional “alert-only” mode before enabling auto-buy.


Requirements

  • An active Telegram account with a verified phone number.

  • Your Telegram API ID and API Hash, which you can obtain for free from my.telegram.org.


Step 1 – Get Your Telegram API ID & Hash

  1. Visit https://my.telegram.org and log in using the Telegram account you plan to connect.

  2. Click API Development Tools / Apps.

  3. Create a new app with the following details:

    • App Title: Leap Bot (or any name you like)

    • Short Name: leapbot

    • Platform: Web (or the most appropriate option)

    • URL: leave blank (optional)

  4. Submit the form — you’ll be shown your API ID and API Hash.

  5. Keep these safe — you’ll need them in the next step.

⚠️ Important: Keep your API Hash private. Anyone with it could attempt to log in as you.

  1. In the Leap app, go to Accounts → Telegram Accounts.

  2. Click Add Telegram Account.

  3. Fill out the required fields:

    • Phone number in full international format (e.g., +44...)

    • API ID

    • API Hash

    • Password (if you use 2-Step Verification)

  4. Telegram will send you a one-time verification code via Telegram or SMS.

  5. Enter the code exactly as shown.

  6. If successful, you’ll see your account appear in the list under Telegram Accounts.

Step 3 – Pick Channels & Set Trading Rules

  1. In the Leap app, go to Tasks → Telegram Auto Buyer.

  2. Click Add Channel and paste the channel ID or username.

  3. Assign a Trading Profile — this defines how trades are executed:

    • Buy size

    • Slippage

    • Filters (volume, holders, market cap, etc.)

    • Take Profit / Stop Loss

    • Trailing settings

  4. (Optional) Add:

    • Whitelisted Users: Only buy when specific users post.

    • Blacklists: Ignore tickers, tokens, or keywords you don’t want to trade.

  5. Click Start Task to begin monitoring the channel.

  6. Leap will automatically detect new contract addresses and act based on your settings.


Tips & Best Practices

  • Use a dedicated Telegram account for scraping whenever possible.

  • Protect your API Hash — never share it or post it publicly.

  • Add common keyword blacklists (e.g., “airdrop”, “test”, “dev”) to reduce unwanted trades.

  • Use user ID whitelists for large or noisy groups.

  • You can start with “alert-only” mode before enabling auto-buy to verify your setup.


You’re Done!

Your Telegram account is now successfully connected to Leap. You can now monitor multiple channels, apply filters and automation, and let Leap trade automatically or alert you in real time.

Last updated