# Main Configuration

Let's start with the main configuration file settings.json:

```
[
    {
        "BOT_MODE": "standard", //BOT_MODE standard or sniper 
        "WALLET_ADDRESS": "", //Your trading wallet address
        "WALLET_PRIVATEKEY": "", //Your trading wallet private key
        "USECUSTOMNODE": "false", //Use a private/custom node
        "CUSTOMNODE": "", //The custom node address
        "EXCHANGE": "pancakeswap", //The exchange to use
	"EXCHANGEVERSION": "2", //The exchange API version to use. For PancakeSwap only
	"PREAPPROVE": "true", //Preapprove tokens on startup
	"UNLIMITEDSLIPPAGE": "false", //Allow unlimited slippage
        "DXSALE": "false", //Enable DXSale. For Sniper Only.
        "DXPRESALECONTRACT": "" //The DXSale token Presale contract. For Sniper Only.
    }
]
```

**BOT\_MODE**: Choose if the bot should operate in **standard** mode (scans the blockchajn for liquidity and price checks) or **sniper** mode (Uses mempool for faster sniping. For advanced users only!)

**WALLET\_PRIVATEKEY:** Your wallet private key. Check this [link](https://metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-Export-an-Account-Private-Key) for instructions on how to export your private key. Please refer to our s[ecurity tips](https://tempestbot.gitbook.io/tempestbot/security) for additional info.

**EXCHANGE** : Select the exchange you want to use. Available values:&#x20;

* Uniswap
* Pancakeswap
* Spiritswap
* Spookyswap
* Quickswap
* ApeSwap
* KuSwap
* KoffeeSwap
* Pangolin
* Traderjoe

**EXCHANGEVERSION** : only available for PancakeSwap. Select "1" or "2". This setting can be disregarded when using other exchanges.

**USECUSTOMNODE** : Set this value to true if you want to use a custom node\\

**CUSTOMNODE** : if you want to use a custom node, enter here your node's address **in http, and don't forget the "/" at the end of the address.** Example: <https://bsc-dataseed4.ninicoin.io/>

**PREAPPROVE** : Set to true if you want to preapprove tokns on startup tokens on startup.\\

**UNLIMITEDSLIPPAGE** : use this parameter if you want the bot to bypass completely the slippage setting and buy at any slippage, to avoid the "INSUFFICIENT\_AMOUNT" Error. **WARNING**: Use this setting carefully as you risk losing a substantial amount of your funds.

\
**DXSALE (SNIPER MODE ONLY)** : if your token was listed on DXSALE, set it to "true".&#x20;

**WARNINGS:**&#x20;

* Be careful to check if your token was listed on DXSale, because it will use a different way to add liquidity for your token, so if you miss this part, the bot won't see liquidity added.
* Sniper mode only works when **Presale is concluded** on DXSale and **liquidity is being added to the exchange.**
* You **CANNOT** snipe DXSale presales once they go live on DXSale directly

**DXPRESALECONTRACT (SNIPER MODE ONLY):** insert here DXSale Presale address (Not the Token Address)
