> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orbitaio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sleep Mode

> The Sleep Mode snipes new liquidity pools according to your criteria. Platforms supported: `raydium_snipe`.

### Using Sleep Mode

1. To use Sleep mode, navigate to Start > Sleep Mode.
2. The bot will then start looking for new liquidity pools to snipe.

### RPC Setup

OrbitAIO allows you to use an RPC with either Websockets or gRPC **(recommended)**.

* To setup your RPC for using web sockets, enter a value for `ws_url`.
* To use gRPC, enter a value for `grpc_url` and `grpc_token`.

### Sleep Mode Filters

<Tip>
  Filters are setup in the `settings.toml` file.
</Tip>

| Filter Name                    | Description                                                                                                     |
| ------------------------------ | --------------------------------------------------------------------------------------------------------------- |
| `sleep_only_timed_pools`       | Specifies whether the bot should only buy tokens from timed liquidity pools.                                    |
| `sleep_only_untimed_pools`     | Specifies whether the bot should only buy tokens from untimed liquidity pools.                                  |
| `sleep_mint_authority_check`   | Determines if the bot should only purchase tokens that do not have mint authority.                              |
| `sleep_freeze_authority_check` | Indicates whether the bot should only purchase tokens that do not have freeze authority.                        |
| `sleep_has_socials`            | Specifies if the bot should only buy tokens that have at least one linked social media profile.                 |
| `sleep_has_twitter`            | Determines if the bot should only buy tokens that have a Twitter account.                                       |
| `sleep_has_telegram`           | Specifies if the bot should only buy tokens that have a Telegram account.                                       |
| `sleep_has_website`            | Indicates if the bot should only buy tokens that have a website.                                                |
| `sleep_min_liquidity_sol`      | Sets the minimum liquidity in SOL that a liquidity pool must have for the bot to consider buying.               |
| `sleep_max_liquidity_sol`      | Sets the maximum liquidity in SOL that a liquidity pool can have for the bot to consider buying.                |
| `sleep_min_market_cost_sol`    | Specifies the minimum market cost in SOL that the bot is willing to pay for tokens.                             |
| `sleep_max_market_cost_sol`    | Specifies the maximum market cost in SOL that the bot is willing to pay for tokens.                             |
| `sleep_min_supply_in_lp`       | Determines the minimum token supply in a liquidity pool that the bot will consider for purchasing.              |
| `sleep_max_supply_in_lp`       | Specifies the maximum token supply in a liquidity pool that the bot will consider for purchasing.               |
| `sleep_min_supply_in_lp_pc`    | Determines the minimum token supply (percentage) in a liquidity pool that the bot will consider for purchasing. |
| `sleep_max_supply_in_lp_pc`    | Specifies the maximum token supply (percentage) in a liquidity pool that the bot will consider for purchasing.  |
| `sleep_min_supply_burnt_pc`    | Indicates the minimum percentage of the token supply that should be burnt for the bot to consider buying.       |

**Tip:** You may also enable blacklist checks to exclude any liquidity pools created by known bad actors.

### Task Setup

<Tip>
  OrbitAIO will generate a `tasks/sleep/sleep.csv` file in the same directory as the executable.
</Tip>

| Field Name               | Description                                                                      |
| ------------------------ | -------------------------------------------------------------------------------- |
| `module`                 | The name of the module used (`raydium_snipe` or `raydium_swap`).                 |
| `mode`                   | The transaction mode for the task (`spam` or `fast`).                            |
| `wallet_alias`           | Alias of the wallet used for transactions.                                       |
| `rpc_alias`              | Alias for the RPC server to be used (e.g. `orbit_sol`).                          |
| `amount`                 | The amount of input token to be used for buying (e.g. `0.1`).                    |
| `pool_mint`              | Leave empty                                                                      |
| `market_id`              | Leave empty                                                                      |
| `input_mint`             | Mint address of the input token (`So11111111111111111111111111111111111111112`). |
| `output_mint`            | Leave empty                                                                      |
| `buy_txs`                | Number of buy transactions to send (`spam mode`).                                |
| `sell_txs`               | Number of sell transactions to send (`spam mode`).                               |
| `buy_tx_delay`           | Delay between buy transactions in milliseconds (`spam mode`).                    |
| `sell_tx_delay`          | Delay between sell transactions in milliseconds (`spam mode`).                   |
| `autosell_tp`            | Auto-sell target profit in percentage.                                           |
| `autosell_sl`            | Auto-sell stop loss in percentage.                                               |
| `prerun_ms`              | Time in milliseconds to run the task before the pool open time.                  |
| `sell_after`             | Time in milliseconds to start selling after buying. `optional`                   |
| `instant_sell`           | Whether to sell instantly after a buy transaction (`true` or `false`).           |
| `max_slippage_tolerance` | Maximum slippage tolerance in percentage allowed for a transaction.              |
| `max_price_impact`       | Maximum price impact in percentage allowed for a transaction.                    |
| `buy_extra_fee`          | Extra fee (SOL) added to the buy transactions.                                   |
| `sell_extra_fee`         | Extra fee (SOL) added to the sell transactions.                                  |
| `buy_jito_fee`           | Fee (SOL) for jito bundles (enter a value to use bundles when buying).           |
| `sell_jito_fee`          | Fee (SOL) for jito bundles (enter a value to use bundles when selling).          |
| `jito_uuid`              | Jito UUID API Key (used for higher limits). Leave empty if none available.       |
