# Rescue mode

It happens that after the end of a session there are few tokens left on wallets or small amounts in balances in liquidity pools, that's why Rescue mode was created, the main task of which is to swap balances of stablecoins or other tokens back to ETH or USDC. Also this mode will help to get liquidity from pools in different Dapps.

***

### Setting up and starting a session:

* In the **Mode** section, select **Rescue mode**;
* In the **Run mode** section, choose the order in which wallets will be launched:
  1. **Parallel** - parallel operation (multithreading) with or without proxies;
  2. **One-by-one** - wallets will be launched one after another with or without proxies;
  3. **One-by-one (mobile proxy)** - wallets will be launched one after another using mobile proxies. Mobile proxies must be added in the **Settings ->** [**Proxies**](https://docs.nfd.gg/main/eng-combine-software/section-settings/proxies) section and linked to accounts in the **Account Manager** beforehand.
* To use a ready-made preset of software settings, click on the selection field in the **Select preset** section and choose the desired preset;
* To launch a pre-prepared group of wallets, select the desired group in the **Select Accounts group to launch** section;
* In the **Select blocks** section, click **Select** to choose the tokens and the DEXs where they should be swapped, or the pools from which liquidity needs to be withdrawn:
  1. If you want to swap all token residues and withdraw all available tokens from liquidity regardless of the DEX, click **Select All**. The software will only swap tokens that are present and withdraw liquidity only from protocols where it exists;
  2. If you want to withdraw tokens from liquidity in a specific DEX, select the desired protocol and the LP pair in the **Liquidity** section;
  3. To swap a specific token (e.g., USDC), select the token and the protocol where the swap will be made, and check its checkbox;
* The minimum amount of tokens that will be processed is 30 cents. If there are 29 cents in USDC on the wallet, the software will skip this token. This is done to ensure that the swap fee does not exceed the total swap amount.

<figure><img src="/files/xrs2YA79C9RLzva1T2Lc" alt=""><figcaption></figcaption></figure>

* In the **Delays** section, set the delays between actions. There are two modes: **Standard** and **Pro**;
  * In **Standard** mode, there are three settings:
    1. **Wallet** - delay between wallet launches;
    2. **Block** - delay between scenario blocks (protocols);
    3. **Step** - delay between actions within a scenario block.
  * In **Pro** mode, there are three additional settings:
    1. **Approve** - delay between approval and bridge/swap;
    2. **Gas guard** - when activated, your wallet will additionally go to sleep if several accounts in the same session are simultaneously ready to work after reaching the gas level set by you for the software. This is done to prevent all these wallets from simultaneously sending transactions after reaching the gas level set by you. The standard delay is set in the range from 30 to 150 seconds;
    3. **Break** - delay between halves of steps in a scenario block.
* In the **Max gas price** section, set the maximum gas in the Ethereum network at which transactions will be made. The software will wait until the gas in the Ethereum network drops to the desired value, and only then will it start making transactions. After launching the session, you can change the upper Gwei level in the **Logs & Progress** tab by going to the **Sessions** subsection;
* If the **Approve INFINITE amounts** checkbox is activated, an infinite number of tokens will be approved, so that you don't have to re-approve your tokens before each repeated swap/bridge. If the checkbox is off, only the amount needed for the transaction will be approved;
* To ensure that wallets start working in random order, keep the **Randomize wallets** checkbox enabled;
* To save the session delay settings for use in other sessions, click **Save this as preset**, enter the preset name, and save it. Later, this preset can be selected in the **Select preset** field;
* Click **Update Balances** to get the current ETH balances on wallets;
* Select the wallets that will be launched and click **Launch**.

<figure><img src="/files/vUY7XOyCuDKtwYORw1jP" alt=""><figcaption></figcaption></figure>

* Your wallets have been launched. You can track the process of work of your wallets in the section [Logs & Progress](https://docs.nfd.gg/main/eng-combine-software/modules/operation-and-launching-of-modules/zkevm-module/logs-and-progress).


---

# 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://nfd-gg.gitbook.io/main/eng-combine-software/modules/operation-and-launching-of-modules/zkevm-module/settings-and-launch/rescue-mode.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.
