Set-up Guide

1. First steps

Prerequisites :

  • Windows operating system (your computer or a VPS, have a look at the FAQ)

2. Configure your settings

You need first to configure your account.

1. Run the ChainSniper PumpBot first, and enter your wallet and Private Key, or add them into the .json file.

2. Open settings.json file and set your Exchange / Node values:

[
{
    "WALLETADDRESS": "0x68d8Bfa07451dBa40ec61FdB6b431e04C99368DE",
    "PRIVATEKEY": "083d1908f5b162cf94c651e85a5d61223b85c645aa944796dbcdf28df720033f",
    "WALLETADDRESS2": "null",
    "PRIVATEKEY2": "null",
    "WALLETADDRESS3": "null",
    "PRIVATEKEY3": "null",
    "WALLETADDRESS4": "null",
    "PRIVATEKEY4": "null",
    "WALLETADDRESS5": "null",
    "PRIVATEKEY5": "null",
    
    "MEMPOOL_METHOD": "public_node",
    "USECUSTOMNODE": "false",
    "CUSTOMNODE": "false",
    
    "EXCHANGE": "pancakeswap",
    "EXCHANGEVERSION": "2",
    "PREAPPROVE": "true",
    "UNLIMITEDSLIPPAGE": "false",
    "VERBOSE_PRICING": "true",
    "SLOW_MODE": "false",
    "START_BUY_AFTER_TIMESTAMP": "not used",
    "START_SELL_AFTER_TIMESTAMP": "not used",

    "_EXCHANGE_BASE_SYMBOL": "BNB ",
    "_STABLE_BASES": {
        "USDT": {
            "address": "0x55d398326f99059ff775485246999027b3197955",
            "multiplier": 0
        },
        "BUSD": {
            "address": "0xe9e7cea3dedca5984780bafc599bd69add087d56",
            "multiplier": 0
        },
        "USDC": {
            "address": "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
            "multiplier": 0
        }
    },
    "ENCRYPTPRIVATEKEYS": "false"
}
]

Chainsniper can trade with 5 wallets at the same time, if you use MULTIPLEBUYS option

  • EXCHANGE : enter the exchange you want to use. Available values:

    • Uniswap

    • Pancakeswap

    • Biswap

    • Pinkswap

    • Babyswap

    • Bakeryswap

    • Spiritswap

    • Spookyswap

    • Protofi

    • ApeSwap

    • Quickswap

    • Polygon-apeswap

    • Waultswap

    • KuSwap

    • KoffeeSwap

    • Pangolin

    • Traderjoe

    • Tethys

    • Cronos-vvs

    • Cronos-crona

    • Viperswap

    • ... and also Pancakeswaptestnet and Uniswaptestnet, if you want to use the bot on testnets.

TUTORIAL : HOW TO TEST THE BOT ON PANCAKE TESTNET

1/ Enter "pancakeswaptestnet" in settings.json

2/ Ask 1 testnet BNB here : https://testnet.binance.org/faucet-smart

3/ Add BNB testnet to your metamask

4/ Use this website to make a swap on testnet : https://pancake.kiemtienonline360.com/

5/ Go here to find the contract address of the token you just sniped on testnet : https://testnet.bscscan.com/

6/ Enter this contract address in your tokens.json

7/ Snipe :)

HOW TO FIND TOKENS on BSC testnet ?

You can find many transactions on Pancake testnet here : https://testnet.bscscan.com/address/0xd99d1c33f9fc3444f8101754abc46c52416550d1

-----------------------------------------------

TUTORIAL : HOW TO TEST THE BOT ON ETH RINKEBY TESTNET

1/ Enter "uniswaptestnet" in settings.json

2/ Ask 0.1 testnet ETH here : https://faucets.chain.link/rinkeby

3/ Add ETH testnet Rinkeby to your metamask

5/ HOW TO FIND TOKENS ? go here to find contract address of tokens : https://rinkeby.etherscan.io/address/0x7a250d5630b4cf539739df2c5dacb4c659f2488d

6/ Enter contract address in your tokens.json

7/ Important : use this in your tokens.json

"GAS": "BOOST",

"BOOSTPERCENT": "150",

8/ Snipe :)

9/ See results here : https://rinkeby.etherscan.io/

  • EXCHANGEVERSION Only available for Pancakeswap. Select "1" or "2".

    If you're not using Pancake, just leave it like this, bot won't take it into account.

  • PRIVATEKEY You need to enter here the Private key (and not the 12 words seed phrase) of the wallets you want to use. Read this article to learn how to export your private key from Metamask.

You can use same wallet or different wallets. It's as you prefer.

  • USECUSTOMNODE Set it 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, wss, or IPC Example: wss://bsc-ws-node.nariox.org:443

  • PREAPPROVE Tells the bot to preapprove tokens on startup or not

  • ENCRYPTPRIVATEKEYS Will be filled automatically when you start the bot for the first time

  • 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 If you select UNLIMITEDSLIPPAGE= true, bot won't take into account SLIPPAGE parameter.

Use UNLIMITED SLIPPAGE WITH CAUTION THIS SHOULD BE USED FOR DEGEN SNIPES ONLY AND CAN RESULT IN LOSS OF FUNDS IF USED INCORRECTLY!!!

  • VERBOSE_PRICING Default setting is "true", but if you set it to "false", bot will only show lines on the screen if the price is updated, like this :

  • SLOW_MODE

    A user contacted me because he was running the bot 24/7 on the default node, and his IP got temporarily banned because he made too many calls. Indeed, on default RPC nodes, there is a rate limit (example : https://docs.binance.org/smart-chain/developer/rpc.html#rate-limit) --> We created a SLOW_MODE parameter, who makes the bot do price check every 0.5s only. Use it if you let the bot run all night on default node, if you just need to sell tokens without need for sniping, for instance

    To use it :

    • enter SLOW_MODE : true in settings.json

3/ Configure your tokens

Open tokens.json to configure the tokens and the orders that your bot will create. Here's an example:

[
  {
    "ENABLED": "true",
    "SYMBOL": "CAKE",
    "ADDRESS": "0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82",

// -----------  BUY / SELL  PARAMETERS ---------------------------------------------------------------------------------------- 
    "KIND_OF_SWAP": "base",            // enter "base" to use BUYAMOUNTINBASE , and "tokens" to use BUYAMOUNTINTOKENS
    "BUYAMOUNTINBASE": "0.000001",
    "BUYAMOUNTINTOKEN": "5",
    "MAX_BASE_AMOUNT_PER_EXACT_TOKENS_TRANSACTION": "0.5",     // used with KIND_OF_SWAP = tokens
    
    "BUYPRICEINBASE":  "0",
    "SELLPRICEINBASE": "200%",         // You can now put amount in % in this field
    "SELLAMOUNTINTOKENS": "ALL",
    "STOPLOSSPRICEINBASE": "60%",      // You can now put amount in % in this field
    "TRAILING_STOP_LOSS": "40%",       // put amount in % in this field. Enter '0' if you don't want to use it
    "SLIPPAGE": "5",

// -----------  LIQUIDITY PARAMETERS ---------------------------------------------------------------------------------------- 
    "WATCH_STABLES_PAIRS": "false",     // use this if you want bot to check all Stable Liquidity pairs
    "LIQUIDITYINNATIVETOKEN": "true",
    "USECUSTOMBASEPAIR": "false",
    "BASESYMBOL": "BUSD",
    "BASEADDRESS": "0xe9e7cea3dedca5984780bafc599bd69add087d56",
    "MINIMUM_LIQUIDITY_IN_DOLLARS": "10000",

// -----------  COUNTER  ANTI BOT PARAMETERS --------------------------------------------------------------------------- 
    "WAIT_FOR_OPEN_TRADE": "true_after_buy_tx_failed", // check Wiki, this is very useful
    "BUY_AND_SELL_TAXES_CHECK": "true",
    "MAX_BUY_TAX_IN_%": "2",
    "MAX_SELL_TAX_IN_%": "2",
    "BUYAFTER_XXX_SECONDS": "0",        
    "MULTIPLEBUYS": "false",            // you can use 2 options : 'several_wallets' or 'same_wallet'. Check wiki
    "BUYCOUNT": "2",

// -----------  GAS PARAMETERS ---------------------------------------------------------------------------------------- 
    "GAS": "BOOST",                     // PumpBot recommend you to use BOOST here
    "MAX_GAS": "9999",                  // Put here the maximum of GAS you want to pay if you use BOOST. If GAS > MAX_GAS Tx won't be made
    "BOOSTPERCENT": "30",
    "GASLIMIT": "1000000",
    "GASPRIORITY_FOR_ETH_ONLY": "1.5",

// -----------  OTHER PARAMETERS ---------------------------------------------------------------------------------------- 
    "MOONBAG": "0",                     // Bot will keep this amount in your wallet after SELL order
    "MAXTOKENS": "1",                   // Bot will stop if your balance > MAXTOKENS
    "HASFEES": "false",
    "MAX_SUCCESS_TRANSACTIONS_IN_A_ROW": "2",
    "MAX_FAILED_TRANSACTIONS_IN_A_ROW": "2",
    "RUGDOC_CHECK": "true",
    "ALWAYS_CHECK_BALANCE": "false",    // use this if you want bot to check your token balance between each price check

// -----------  PINKSALE SNIPING ---------------------------------------------------------------------------------------- 
    "PINKSALE_PRESALE_ADDRESS": "enter here the presale address if you're sniping a Pinksale listing",
    "PINKSALE_PRESALE_START_TIMESTAMP":  "1647477029"
  }
]
  • ENABLED Enable trading or not (if false, bot won't try to buy tokens)

  • SYMBOL Symbol of the token you want to buy

  • ADDRESS Contract address of the token you want to buy

  • KIND_OF_SWAP You now have the choice between : 1/ "KIND_OF_SWAP": "base" --> you want to swap with an amount of Base tokens (example : I want to buy 1 BNB of CAKE token) 2/ "KIND_OF_SWAP": "tokens" --> you want to swap an exact amount of tokens (example : I want to buy 50 CAKE tokens)

  • BUYAMOUNTINBASE (used with "KIND_OF_SWAP": "base") Put here the amount in the base symbol that you want the bot to buy with

  • BUYAMOUNTINTOKEN (used with "KIND_OF_SWAP": "tokens") Put here the amount of tokens that you want the bot to buy

  • MAX_BASE_AMOUNT_PER_EXACT_TOKENS_TRANSACTION (used with "KIND_OF_SWAP": "tokens") Put here the maximum amount of BNB / ETH / AVAX... that you want the bot to use, if you're swapping per tokens --> this option avoids you to spend too much to buy the tokens you want to buy

  • BUYPRICEINBASE (used with "KIND_OF_SWAP": "base") Buy price of 1 token in the base symbol : if the price of 1 token is < or = to this price, the bot will buy.

If you want the bot to never buy, set BUYPRICEINBASE = 0 (price cannot be below 0)

  • SELLPRICEINBASE Sell price of 1 token in the base symbol : if the price of 1 token is > or = to this price, the bot will sell. (it will sell at the Market price, not at your price) NEW : you can now enter a sell price in % Chainsniper is now able to determine the SELL price according to your real BUY price

    You just need to enter an amount in % in SELLPRICEINBASE and STOPLOSSPRICEINBASE, and it will automatically calculate sell price.

    Example :

    "SELLPRICEINBASE": "300%"

    "STOPLOSSPRICEINBASE": "60%"

BUYPRICEINBASE and SELLPRICEINBASE are the buy price of ONE token in BASE pair.

Think about it as if you were in front of this screen:

If you want the bot to never sell, set SELLPRICEINBASE = 99999999

  • STOPLOSSPRICEINBASE Set your Stop Loss price in the base symbol Bot will sell if token price < STOPLOSS price

  • TRAILING_STOP_LOSS A trailing stop-loss is an intelligent version of a normal stop-loss, which is a limit sell that fills if the price dips below a certain point, preventing losses from happening.

    In a trailing stop-loss, the sell price follows (or โ€œtrailsโ€) behind the current price of your chosen token, meaning that if the price moons and then unexpectedly drops, then the stop-loss would trigger at a higher price, meaning more profits for you. How to use it : "TRAILING_STOP_LOSS": "80%" means that bot will sell if price goes down to 80% of ATH price (--> if ATH was 2$, bot will sell at 1.60$)

  • SLIPPAGE Slippage you want to use (in %).

  • MOONBAG Minimal amount of token you want to keep in your wallet. If you don't want to keep any token, put 0. (in this example, the bot will keep at least 20 KPAD token in your wallet)

  • MAXTOKENS This parameter is used to make the bot stop buying:

    • before buying, the bot checks MAXTOKENS

    • if you hold more tokens than MAXTOKENS, the bot does not buy

This parameter does not influence how many tokens the bot will buy during your trade: if you set MAXTOKENS = 1, the bot can buy 50000 tokens for example, no problem

If you want to make the bot stop buying after 1 trade, set MAXTOKENS to a low value, like "1" for instance.

  • RUGDOC_CHECK Call RugDoc's API to check if a contract is a honeypot or not.

    Check their website, be careful it cannot be 100% reliable of course!

    https://rugdoc.io/honeypot/

Anti-antibot parameters

  • BUYAFTER_XXX_SECONDS

  • WAIT_FOR_OPEN_TRADE

  • START_BUY_AFTER_TIMESTAMP START_SELL_AFTER_TIMESTAMP

  • MULTIPLEBUYS

  • BUYCOUNT

Please read dedicated "Counter anti-bot measures" page

Liquidity parameters

  • LIQUIDITYINNATIVETOKEN

  • USECUSTOMBASEPAIR

  • BASESYMBOL

  • BASEADDRESS

  • WATCH_STABLES_PAIRS

โš ๏ธ โš ๏ธโš ๏ธ Please read dedicated page carefully โš ๏ธโš ๏ธโš ๏ธ

WARNING : be VERY CAREFUL about those liquidity options If you set up wrong configuration, bot will trade on wrong pair and make you lose funds. Beware

Pinksale parameters

  • PINKSALE_PRESALE_ADDRESS

  • PINKSALE_PRESALE_START_TIMESTAMP

  • "WAIT_FOR_OPEN_TRADE": "pinksale"

Please read dedicated "Snipe Pinksale launches" page

  • MAX_FAILED_TRANSACTIONS_IN_A_ROW Tells the bot to stop making buy/sell orders after XXX failed transactions

  • MAX_SUCCESS_TRANSACTIONS_IN_A_ROW Tells the bot to stop making buy/sell orders after XXX success transactions Example : if you want the bot to make 1 BUY and 1 SELL Tx, set it to 2

  • ALWAYS_CHECK_BALANCE To increase speed to maximum, the default behaviour of Chainsniper is to check your balance only at bot launch. It allows to reduce the amount of actions before make a sell order. But some users want the bot to detect when they receive a token in their wallet while the bot is running, to sell the tokens as quickly as possible --> use this option to make the bot check your tokens balance between every price check (but this makes the bot a little bit slower - not too much slower, don't worry)

  • MINIMUM_LIQUIDITY_IN_DOLLARS (since 4.0.5) Use this option if you want the bot to set a minimal amount of liquidity before buying.

    Put liquidity amount in $.

Some people add very small amount of liquidity to Exchanges --> if you swap on this, you will lose all your money !! To avoid this, the team recommend to set MINIMUM_LIQUIDITY_IN_DOLLARS = 10000

  • SELLAMOUNTINTOKENS Put here the amount of token that you want the bot to sell

  • HASFEES Select "TRUE" if you want to trade a token with additional fees, like automatic transfer to liquidity when you buy / additional taxes / rebase / etc. If you don't use this on such tokens, you may have a Tx failed with "Pancake:K" error

  • GAS / BOOSTPERCENT

    There is 2 ways to set your Gas :

  1. Set your own fixed Gas price --> simply set Gas price in "GAS" parameter

    "GAS": "200",
  2. Let the bot calculate Gas price relating to current Gas Price on blockchain :

    1. it reads the gas price on the blockchain

    2. it applies the boost you set on Fast price. Example :

"GAS": "BOOST",
"BOOSTPERCENT": "30",
  • MAX_GAS Put here the maximum of GAS you want to pay if you use BOOST. If GAS > MAX_GAS : Tx won't be made

  • GASLIMIT Set it with the Gaslimit value you want to use (we recommend to set it to 1000000 to avoid to be out of Gas)

  • GASPRIORITY_FOR_ETH_ONLY This is for ETH and AVAX only : sets Max Priority Gas. The max priority fee, also referred to as the "miner tip", goes to the miner or validator, and incentivizes them to prioritize your transaction. Most often, the value you put in for "max priority fee" will be the amount you pay. More details here : https://www.blocknative.com/blog/eip-1559-fees

4/ Launch the bot ๐Ÿš€

  • Start making Money on DEX Exchanges!

  • Enjoy your Lambo ๐ŸŽ๏ธ

Last updated