Bot examples

Please read this page to find configurations examples.

BSC - Snipe new tokens at listing

1/ settings.json

[
{
"LIMITWALLETPRIVATEKEY": "03fba7c182540c2d1846a33329a2b162c45b80e36702eb82844145922adbf13",
"LIMITWALLETADDRESS": "0x265Cb06dc562C97Acc8e51EBE3AA0275BF0c4D3D",
"WALLETADDRESS": "0x265Cb06dc562C97Acc8e51EBE3AA0275BF0c4D3D",
"PRIVATEKEY": "03fba7c182540c2d1846a33329a2b162c45b80e36702eb82844145922adbf13",
"USECUSTOMNODE": "true",
"CUSTOMNODE": "https://bsc-dataseed4.ninicoin.io/",
"EXCHANGE": "Pancakeswap"
"EXCHANGEVERSION": "2"
"PREAPPROVE": "true",
"UNLIMITEDSLIPPAGE": "false"
}
]

In this example, we choose to use same wallet for holding LIMIT tokens and trading. You can also choose to use 2 different wallets : up to you πŸ˜‡

In this example, we chose to use a custom BSC node : https://bsc-dataseed4.ninicoin.io/ To use custom node, you need to enter its http address, with the "/" at the end of the address.

2/ tokens.json

To snipe new token, you need:

  • contract address

  • listing price

if you don't know listing price, put BUYPRICEINBASE = 1000 for instance, so as the bot to buy at any price

Let's say you want to snipe KPAD listing. If you enter this in your tokens.json :

[
{
"SYMBOL": "KPAD",
"ADDRESS": "0xcfefa64b0ddd611b125157c41cd3827f2e8e8615",
"USECUSTOMBASEPAIR": "false",
"BASESYMBOL": "enter here your custom Base pair symbol if USECUSTOMBASEPAIR =True",
"BASEADDRESS": "enter here your custom Base pair address if USECUSTOMBASEPAIR =True",
​
"LIQUIDITYINNATIVETOKEN": "True",
​
"BUYAMOUNTINBASE": "1",
"BUYPRICEINBASE": "0.001",
"SELLAMOUNTINTOKENS": "ALL",
"SELLPRICEINBASE": "0.005",
"MAXTOKENS": "100",
"MOONBAG": "20",
"SLIPPAGE": "49",
"HASFEES": "false",
"GAS": "20",
"BOOSTPERCENT": "50",
"GASLIMIT": "1000000",
"LIQUIDITYCHECK": "true",
"LIQUIDITYAMOUNT": "10"
}
]

it will :

  • buy 1 BNB of KPAD if the price is < 0.001 BNB / token

  • sell all the tokens you bought when the price reached 0.005 BNB / token

  • with 49% slippage

  • with Gas high enough to make quick transaction

"LIQUIDITYINNATIVETOKEN" is set to "True" because liquidity is provided in BNB for this token (BNB is the "native" token here)

BSC - Buy/sell TECH with USDC on MATIC

Here is an example of token where the liquidity has been added in USDC : https://polygon.poocoin.app/tokens/0x6286a9e6f7e745a6d884561d88f94542d6715698​

on the left on

In this case, you should: - use LIQUIDITYINNATIVETOKEN = false - use USDC custom base pair

Here is how to do:

1/ settings.json

Quickswap exchange is used for MATIC sniping.

[
{
"LIMITWALLETPRIVATEKEY": "03fba7c182540c2d1846a33329a2b162c45b80e36702eb82844145922adbf13",
"LIMITWALLETADDRESS": "0x265Cb06dc562C97Acc8e51EBE3AA0275BF0c4D3D",
"WALLETADDRESS": "0x0975AbABe9Da8934f14D1CC108f4644e349f0866",
"PRIVATEKEY": "14fgt8dflzuwb7keic74sffnfje456sjkoelfnf3245sjfocj76",
"USECUSTOMNODE": "false",
"CUSTOMNODE": "put the address of your own node here if you want and make USECUSTOMNODE = TRUE",
"EXCHANGE": "quickswap"
"EXCHANGEVERSION": "2"
"PREAPPROVE": "true",
"UNLIMITEDSLIPPAGE": "false"
}
]

In this example, we choose to use 2 different wallets : - one wallet for holding LIMIT tokens - another wallet for trading

2/ tokens.json

[
{
"ENABLED" : "True",
​
"SYMBOL": "TECH",
"ADDRESS": "0x6286a9e6f7e745a6d884561d88f94542d6715698",
"USECUSTOMBASEPAIR": "true",
"BASESYMBOL": "USDC",
"BASEADDRESS": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"LIQUIDITYINNATIVETOKEN": "false",
​
"BUYAMOUNTINBASE": "100",
"BUYPRICEINBASE": "0.07",
"SELLAMOUNTINTOKENS": "ALL",
"SELLPRICEINBASE": "0.13",
"MAXTOKENS": "1",
"MOONBAG": "0",
"SLIPPAGE": "5",
"HASFEES": "false",
"GAS": "20",
"BOOSTPERCENT": "10",
"GASLIMIT": "1000000",
"LIQUIDITYCHECK": "false",
"LIQUIDITYAMOUNT": "10"
}
]

This will create a "ping-pong" bot, who always :

  • buy the equivalent of 100$ of TECH

  • sell all the tokens at the prices you set, like this :

Please note that LIQUIDITYCHECK is set to "false" here, to make the bot faster

BSC - Buy/sell KPAD with BNB

1/ settings.json

(check previous examples)

2/ tokens.json

[
{
"ENABLED" : "True",
​
"SYMBOL": "KPAD",
"ADDRESS": "0xcfefa64b0ddd611b125157c41cd3827f2e8e8615",
​
"USECUSTOMBASEPAIR": "false",
"BASESYMBOL": "enter here your custom Base pair symbol if USECUSTOMBASEPAIR =True",
"BASEADDRESS": "enter here your custom Base pair address if USECUSTOMBASEPAIR =True",
​
"LIQUIDITYINNATIVETOKEN": "true",
​
"BUYAMOUNTINBASE": "1",
"BUYPRICEINBASE": "0.006",
"SELLAMOUNTINTOKENS": "ALL",
"SELLPRICEINBASE": "0.009",
"MAXTOKENS": "1",
"MOONBAG": "0",
"SLIPPAGE": "5",
"HASFEES": "false",
"GAS": "5",
"BOOSTPERCENT": "10",
"GASLIMIT": "300000",
"LIQUIDITYCHECK": "false",
"LIQUIDITYAMOUNT": "10"
}
]

Please note that LIQUIDITYCHECK is set to "false" here, to make the bot faster

This will create a "ping-pong" bot, who always :

  • buy the equivalent of 1 BNB of KPAD

  • sell all the tokens at the prices you set

To know the price of the token, go to Pancake :

​​

ETH - Only sell AAVE with ETH (no buy)

1/ settings.json

"EXCHANGE": "Uniswap"
​
(+ all the rest, of course)

2/ tokens.json

[
{
"ENABLED" : "True",
​
"SYMBOL": "AAVE",
"ADDRESS": "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9",
​
"USECUSTOMBASEPAIR": "false",
"BASESYMBOL": "enter here your custom Base pair symbol if USECUSTOMBASEPAIR =True",
"BASEADDRESS": "enter here your custom Base pair address if USECUSTOMBASEPAIR =True",
​
"LIQUIDITYINNATIVETOKEN": "true",
​
"BUYAMOUNTINBASE": "0.1",
"BUYPRICEINBASE": "0",
"SELLAMOUNTINTOKENS": "ALL",
"SELLPRICEINBASE": "0.45",
"MAXTOKENS": "1",
"MOONBAG": "0",
"SLIPPAGE": "5",
"HASFEES": "false",
"GAS": "BOOST",
"BOOSTPERCENT": "10",
"GASLIMIT": "300000",
"LIQUIDITYCHECK": "false",
"LIQUIDITYAMOUNT": "10"
}
]

In this example, we don't want the bot to buy, so we put "BUYPRICEINBASE" = 0 , so as the bot to never buy.

If you wanted the opposite (the bot to never sell), simply put SELLPRICEINBASE = 999999 for instance.

To know the price of the token, go to Uniswap:

​​

Use the bot with several tokens

If you want the bot to work with several tokens at the same time, simply put 2 tokens paragraphs, separated with a ","

[
{
(first token)
},
{
(second token)
}
]

Such as:

... more examples to come (if needed)

let us know if you want us to write more examples in our TG channel :)