> For the complete documentation index, see [llms.txt](https://nfd-gg.gitbook.io/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nfd-gg.gitbook.io/main/eng-combine-software/modules/operation-and-launching-of-modules/zksync-module/settings-and-launch/rescue-mode.md).

# 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, through this mode will help to get liquidity from pools in various Dapps.

***

### Setting up and starting a session:

* In the **Mode** section, select **Rescue mode**;
* In the **Run mode** section, choose the order in which the wallets will be launched:
  1. **Parallel** - simultaneous operation (multi-threaded) 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. Preliminarily, mobile proxies must also be added to the **Settings ->** [**Proxies**](https://docs.nfd.gg/main/eng-combine-software/section-settings/proxies) section and linked to accounts in the [**Account Manager**](https://docs.nfd.gg/main/eng-combine-software/account-manager)**.**
* To use a ready-made software settings preset, click 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 on which DEX they need to be exchanged or from which pools liquidity needs to be withdrawn:
  1. If you want to exchange all remaining tokens and withdraw all available tokens from liquidity, regardless of the DEX, click **Select All**. The software will exchange only the tokens in stock and withdraw liquidity only from protocols where it is present;
  2. If you want to withdraw tokens from liquidity in a specific DEX, select the desired protocol and LP pair in the **Liquidity** section;
  3. To exchange a specific token (e.g., USDC), select the token and choose the protocol on which the swap will be performed and mark its checkbox;
* The minimum amount of tokens to be processed is 30 cents. If the wallet has 29 cents in USDC, 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/jtFFXtSFW0Q74FgIhGnn" 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 launching wallets;
  2. **Block** - delay between scenario blocks (protocols);
  3. **Step** - delay between actions within a scenario block;
* In **Pro** mode, there are three additional settings available:
  1. **Approve** - delay between approval and bridge/swap;
  2. **Gas guard** - when this delay is 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. We made this so that all these wallets do not start sending transactions simultaneously after reaching the gas level set by you. The standard delay is set in the range of 30 to 150 seconds;
  3. **Break** - delay between halves of steps in one scenario block;
* In the **Max gas price** section, set the maximum gas in the Ethereum network at which transactions will be executed. The software will wait until the gas in the Ethereum network drops to the required level and only then will start executing transactions. After starting the session, it is possible to 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 you don't need to reapprove your tokens before each subsequent swap/bridge. If the checkbox is unchecked, only the amount needed for the transaction will be approved;
* To have wallets start working in random order, keep the **Randomize wallets** checkbox enabled;
* Click **Update Balances** to get the current ETH balances on the wallets;
* Select the wallets to be launched and click **Launch**.

<figure><img src="/files/rB4Ni9Pvnq7ISP1Rqe37" 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/zksync-module/logs-and-progress).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://nfd-gg.gitbook.io/main/eng-combine-software/modules/operation-and-launching-of-modules/zksync-module/settings-and-launch/rescue-mode.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
