Hackless Docs
WebsiteTelegramTwitterDiscord
  • 📁General
    • 🟨Intro
    • 🟨Mempool
      • ◽Introduction
      • ◽Transaction flow
      • ◽Transaction time
      • ◽Role of Hackless
    • 🟨Types of Transactions
    • 🟨MEV
      • ◽Introduction
      • ◽MEV process
      • ◽Downsides MEV
      • ◽Role of Hackless
  • 📂Products
    • ✳️Wallet Rescue
      • 🟨Intro
      • 🟨Types of transactions
        • ◽Native Token Transfer
        • ◽Token Transfer
        • ◽NFT: ERC-721/ERC-1155
        • ◽HEX Data Tx
        • ◽Signed Raw Tx
      • 🟨Basic flow
      • 🟨Payments
    • ✳️RPG Bot
      • 🟨Intro
      • 🟨Setting up the bot
      • 🟨Monitoring and detection
      • 🟨RPG response example
    • ✳️Anti-Sandwich
      • 🟨Intro
      • 🟨Basic flow
      • 🟨Payment transaction
      • 🟨Swap settings
      • 🟨Custom tokens
      • ❗Troubleshooting
        • ▫️Token not found
        • ▫️Insufficient liquidity
        • ▫️Insufficient asset balance
        • ▫️The price is unknown
        • ▫️Processing transaction error
Powered by GitBook
On this page
  1. Products
  2. RPG Bot

Monitoring and detection

PreviousSetting up the botNextRPG response example

Last updated 1 year ago

Initiate the creation of a monitoring profile by choosing the "Create monitoring profile" option.

Decide the type of activity you wish to monitor:

  • "Remove Liquidity" to take actions (sell) before the total liquidity of a dex pair is withdrawn.

  • "Whale Sell" to monitor significant selling activities and take the actions (sell) before.

  • Enter the address of the primary token you want to monitor.

  • Enter the address of the quote token (usually WBNB: 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c), which is paired with the main token.

  • Specify the minimum selling amount of the main token that will trigger the monitoring action.

  1. Managing Monitoring Profiles:

  • To view active monitoring profiles, select the "View active profiles" option.

  • To modify account details or change the network, select "View account details" or "Change network" respectively.

Example

Objective: Set up a monitoring profile to automatically sell CAKE tokens if someone sells 100 or more CAKE tokens.

Steps:

  1. Define the Trigger Condition:

    • Navigating to the section 'Create Monitoring Profile'

    • Entering the condition: "100 CAKE tokens"

  1. Set the Response Action:

    • Specifying the automatic response: "5 CAKE tokens"

  • Confirm the details

  1. Monitor and Act:

    • The system continuously monitors the mempool for transactions.

    • Once a transaction selling 100 CAKE tokens (or any amount exceeding your set threshold of 100) is detected, the monitoring profile will trigger.

  2. Execute the Transaction:

    • Upon triggering, the system will automatically prepare and send out the transaction to sell 5 CAKE tokens.

    • The system automatically selects the optimal strategy, either by setting a higher gas price to prioritize the transaction's inclusion in the blockchain ahead of others or by utilizing the private mining feature.

  3. Outcome:

    • Monitor the transaction status. Once executed, the system has effectively responded to the market activity as configured in your monitoring profile, thus protecting your assets according to your predefined strategy.

Remember to review and confirm all settings before activation to ensure they meet your investment strategy and risk tolerance.

📂
✳️
🟨