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
  • Toggle eth_sign requests
  • Swap Flow
  1. Products
  2. Anti-Sandwich

Basic flow

PreviousIntroNextPayment transaction

Last updated 1 year ago

Toggle eth_sign requests

Turn this on to let dApps request your signature using eth_sign requests. eth_sign is an open-ended signing method that lets you sign an arbitrary hash, making it a dangerous phishing risk. Only sign eth_sign requests if you can read what you are signing and trust the origin of the request.

⚠️ If this setting is turned off, your MetaMask won’t connect to the Wallet Rescue app. You need to turn on this function manually. ⚠️

Swap Flow

To perform a swap, select a token you want to sell and a token you want to buy and enter the number of tokens you want to sell. The app will display the current exchange rate for the selected pair.

If you are selling tokens in the app for the first time, you will need to give permission for the protocol to use the token you want to sell. This allows the smart contract to withdraw a specific amount of tokens from your wallet and send another token to your wallet.

When you sell $BNB or $ETH, there is no need for such approval.

After all the swap conditions are set, you must sign a swap transaction in MetaMask.

After signing the swap transaction, it will automatically be sent to the private mempool. You may cancel transaction execution until it is added to the block.

When a transaction is successfully mined, you will receive a message with a transaction ID and a link to it on the network scan.

📂
✳️
🟨