LimitSwap
Search…
Bot examples
Please read this page to find configurations examples.
​
Team recommandation is to use :
"WAIT_FOR_OPEN_TRADE": "true_after_buy_tx_failed",
"WATCH_STABLES_PAIRS": "true",
"MINIMUM_LIQUIDITY_IN_DOLLARS": "1000", It will :
  • allow you to snipe tokens with OpenTrading function
  • check every liquidity pairs
  • prevent you from being scammed by swapping only if liquidity > 1000$
Enjoy
πŸ™
​

BSC - Snipe 1 BNB of KPAD

1/ settings.json

1
[
2
{
3
"LIMITWALLETPRIVATEKEY": "aes:zmp4ii0jdlMOueosehfiuosehfisurhfesofjrpgkdrogkd^rgd^rgsh=*1LgzSU06YPv92nuSGKqMrA==",
4
"LIMITWALLETADDRESS": "0x265Cb06dc562C97Acc8e51EBE3AA0275BF0c4D3D",
5
"WALLETADDRESS": "0x265Cb06dc562C97Acc8e51EBE3AA0275BF0c4D3D",
6
"PRIVATEKEY": "aes:zmp4ii0jdlMOueosehfiuosehfisurhfesofjrpgkdrogkd^rgd^rgsh=*1LgzSU06YPv92nuSGKqMrA==",
7
"WALLETADDRESS2": "0x0975AbFE55656DGDRGFG4SDXC49f0855",
8
"PRIVATEKEY2": "aes:3hfthfthLh2WJfsefsgdhdththftMOFaYE50nu1W/GOkfFSvHW3PCsYubayAA==*e4U1hehtfhfthtfhtfhfthft7CPV2Fy5fX6IAhtfhtfhtfhftUj2dNaZV8MVA==",
9
"WALLETADDRESS3": "null",
10
"PRIVATEKEY3": "null",
11
"WALLETADDRESS4": "null",
12
"PRIVATEKEY4": "null",
13
"WALLETADDRESS5": "null",
14
"PRIVATEKEY5": "null",
15
"USECUSTOMNODE": "true",
16
"CUSTOMNODE": "https://bsc-dataseed4.ninicoin.io/",
17
"EXCHANGE": "Pancakeswap",
18
"EXCHANGEVERSION": "2",
19
"PREAPPROVE": "true",
20
"UNLIMITEDSLIPPAGE": "false",
21
"ENCRYPTPRIVATEKEYS": "true",
22
"PASSWORD_ON_CHANGE": "false"
23
}
24
]
Copied!
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
    πŸ˜‡
  • We choose 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 and want the bot to buy at any price, you can put BUYPRICEINBASE = 1000 for instance
Let's say you want to snipe 1 BNB of KPAD. Enter this in your tokens.json :
1
[
2
{
3
"ENABLED": "true",
4
​
5
"SYMBOL": "KPAD",
6
"ADDRESS": "0xcfefa64b0ddd611b125157c41cd3827f2e8e8615",
7
8
"KIND_OF_SWAP": "base",
9
"BUYAMOUNTINBASE": "1",
10
"BUYAMOUNTINTOKEN": "(not used)",
11
"MAX_BASE_AMOUNT_PER_EXACT_TOKENS_TRANSACTION": "(not used)",
12
​
13
"BUYPRICEINBASE": "0.001",
14
"SELLPRICEINBASE": "0.006",
15
"STOPLOSSPRICEINBASE": "0.0005",
16
"SLIPPAGE": "49",
17
​
18
"MAXTOKENS": "100",
19
"MOONBAG": "20",
20
21
"RUGDOC_CHECK": "true",
22
"BUYAFTER_XXX_SECONDS": "0",
23
"WAIT_FOR_OPEN_TRADE": "true",
24
"MAX_SUCCESS_TRANSACTIONS_IN_A_ROW": "2",
25
"MAX_FAILED_TRANSACTIONS_IN_A_ROW": "2",
26
"MULTIPLEBUYS": "true",
27
"BUYCOUNT": "3",
28
"ALWAYS_CHECK_BALANCE": "false",
29
30
"MINIMUM_LIQUIDITY_IN_DOLLARS": "10000",
31
"LIQUIDITYINNATIVETOKEN": "True",
32
"USECUSTOMBASEPAIR": "false",
33
"BASESYMBOL": "(not used)",
34
"BASEADDRESS": "(not used)",
35
​
36
"SELLAMOUNTINTOKENS": "ALL",
37
"HASFEES": "false",
38
"GAS": "BOOST",
39
"BOOSTPERCENT": "50",
40
"GASLIMIT": "1000000",
41
"GASPRIORITY_FOR_ETH_ONLY": "1.5"
42
43
}
44
]
Copied!
it will :
  • buy instantly 1 BNB of KPAD if the price is < 0.001 BNB / token
  • before buy, check if liquidity > 10000$
  • sell all the tokens you bought if price > 0.006 BNB / token
  • sell all the tokens if Stop Loss is reached : price < 0.0005 BNB / token
  • 49% slippage
  • Gas 50% higher than Fast Gas price
  • stop making transactions :
    • after 2 failed attempts
    • after 2 success attempts
    • or if you hold more than 100 tokens in your wallet
  • use RugDoc's API to check token before buy
  • bot will wait for the price to move before making an order (WAIT_FOR_OPEN_TRADE option)
  • will make orders with 3 different wallets at the same time (MULTIPLEBUYS option)

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.
1
[
2
{
3
"LIMITWALLETPRIVATEKEY": "aes:zmp4ii0jdlMOueosehfiuosehfisurhfesofjrpgkdrogkd^rgd^rgsh=*1LgzSU06YPv92nuSGKqMrA==",
4
"LIMITWALLETADDRESS": "0x265Cb06dc562C97Acc8e51EBE3AA0275BF0c4D3D",
5
"WALLETADDRESS": "0x265Cb06dc562C97Acc8e51EBE3AA0275BF0c4D3D",
6
"PRIVATEKEY": "aes:zmp4ii0jdlMOueosehfiuosehfisurhfesofjrpgkdrogkd^rgd^rgsh=*1LgzSU06YPv92nuSGKqMrA==",
7
"WALLETADDRESS2": "0x0975AbFE55656DGDRGFG4SDXC49f0855",
8
"PRIVATEKEY2": "aes:3hfthfthLh2WJfsefsgdhdththftMOFaYE50nu1W/GOkfFSvHW3PCsYubayAA==*e4U1hehtfhfthtfhtfhfthft7CPV2Fy5fX6IAhtfhtfhtfhftUj2dNaZV8MVA==",
9
"WALLETADDRESS3": "null",
10
"PRIVATEKEY3": "null",
11
"WALLETADDRESS4": "null",
12
"PRIVATEKEY4": "null",
13
"WALLETADDRESS5": "null",
14
"PRIVATEKEY5": "null",
15
"USECUSTOMNODE": "false",
16
"CUSTOMNODE": "put the address of your own node here if you want and make USECUSTOMNODE = TRUE",
17
"EXCHANGE": "quickswap"
18
"EXCHANGEVERSION": "2"
19
"PREAPPROVE": "true",
20
"UNLIMITEDSLIPPAGE": "false"
21
"ENCRYPTPRIVATEKEYS": "true"
22
"PASSWORD_ON_CHANGE": "false"
23
}
24
]
Copied!

2/ tokens.json

1
[
2
{
3
"ENABLED" : "True",
4
​
5
"SYMBOL": "TECH",
6
"ADDRESS": "0x6286a9e6f7e745a6d884561d88f94542d6715698",
7
​
8
"KIND_OF_SWAP": "tokens",
9
"BUYAMOUNTINBASE": "(not used)",
10
"BUYAMOUNTINTOKEN": "1000",
11
"MAX_BASE_AMOUNT_PER_EXACT_TOKENS_TRANSACTION": "0.5",
12
13
"BUYPRICEINBASE": "0.07",
14
"SELLPRICEINBASE": "0.13",
15
"STOPLOSSPRICEINBASE": "0",
16
"SLIPPAGE": "5",
17
18
"MAXTOKENS": "1",
19
"MOONBAG": "0",
20
​
21
"RUGDOC_CHECK": "true",
22
"BUYAFTER_XXX_SECONDS": "0",
23
"WAIT_FOR_OPEN_TRADE": "false",
24
"MAX_SUCCESS_TRANSACTIONS_IN_A_ROW": "2",
25
"MAX_FAILED_TRANSACTIONS_IN_A_ROW": "2",
26
"MULTIPLEBUYS": "false",
27
"BUYCOUNT": "(not used)",
28
"ALWAYS_CHECK_BALANCE": "false",
29
​
30
"MINIMUM_LIQUIDITY_IN_DOLLARS": "50000",
31
"LIQUIDITYINNATIVETOKEN": "false",
32
"USECUSTOMBASEPAIR": "true",
33
"BASESYMBOL": "USDC",
34
"BASEADDRESS": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
35
​
36
"SELLAMOUNTINTOKENS": "ALL",
37
"HASFEES": "false",
38
"GAS": "BOOST",
39
"BOOSTPERCENT": "20",
40
"GASLIMIT": "1000000",
41
"GASPRIORITY_FOR_ETH_ONLY": "1.5"
42
​
43
}
44
]
Copied!
This will create a "ping-pong" bot, who always :
  • buy 1000 tokens of TECH
  • sell all the tokens at the prices you set, like this :

BSC - Buy/sell KPAD with BNB

1/ settings.json

1
(check previous examples)
Copied!

2/ tokens.json

1
[
2
{
3
"ENABLED" : "True",
4
​
5
"SYMBOL": "KPAD",
6
"ADDRESS": "0xcfefa64b0ddd611b125157c41cd3827f2e8e8615",
7
​
8
"KIND_OF_SWAP": "base",
9
"BUYAMOUNTINBASE": "1",
10
"BUYAMOUNTINTOKEN": "(not used)",
11
"MAX_BASE_AMOUNT_PER_EXACT_TOKENS_TRANSACTION": "(not used)",
12
13
"BUYPRICEINBASE": "0.006",
14
"SELLPRICEINBASE": "0.009",
15
"STOPLOSSPRICEINBASE": "0",
16
"SLIPPAGE": "5",
17
18
"MAXTOKENS": "1",
19
"MOONBAG": "0",
20
21
"RUGDOC_CHECK": "true",
22
"BUYAFTER_XXX_SECONDS": "0",
23
"MAX_SUCCESS_TRANSACTIONS_IN_A_ROW": "2",
24
"MAX_FAILED_TRANSACTIONS_IN_A_ROW": "1",
25
"MULTIPLEBUYS": "false",
26
"BUYCOUNT": "2",
27
"ALWAYS_CHECK_BALANCE": "false",
28
​
29
"MINIMUM_LIQUIDITY_IN_DOLLARS": "10000",
30
"LIQUIDITYINNATIVETOKEN": "true",
31
"USECUSTOMBASEPAIR": "false",
32
"BASESYMBOL": "(not used)",
33
"BASEADDRESS": "(not used)",
34
35
"SELLAMOUNTINTOKENS": "ALL",
36
"HASFEES": "false",
37
"GAS": "BOOST",
38
"BOOSTPERCENT": "20",
39
"GASLIMIT": "1000000",
40
"GASPRIORITY_FOR_ETH_ONLY": "1.5"
41
​
42
}
43
]
44
Copied!
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

1
"EXCHANGE": "Uniswap"
2
​
3
(+ all the rest, of course)
Copied!

2/ tokens.json

1
[
2
{
3
"ENABLED" : "True",
4
​
5
"SYMBOL": "AAVE",
6
"ADDRESS": "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9",
7
8
"BUYAMOUNTINBASE": "0.1",
9
"BUYPRICEINBASE": "0",
10
"SELLPRICEINBASE": "0.45",
11
"STOPLOSSPRICEINBASE": "0",
12
​
13
"SLIPPAGE": "5",
14
15
"MAXTOKENS": "1",
16
"MOONBAG": "0",
17
18
"RUGDOC_CHECK": "true",
19
"BUYAFTER_XXX_SECONDS": "0",
20
"MAX_FAILED_TRANSACTIONS_IN_A_ROW": "2",
21
22
"LIQUIDITYCHECK": "false",
23
"LIQUIDITYAMOUNT": "10"
24
"LIQUIDITYINNATIVETOKEN": "true",
25
"USECUSTOMBASEPAIR": "false",
26
"BASESYMBOL": "enter here your custom Base pair symbol if USECUSTOMBASEPAIR =True",
27
"BASEADDRESS": "enter here your custom Base pair address if USECUSTOMBASEPAIR =True",
28
​
29
"SELLAMOUNTINTOKENS": "ALL",
30
31
"HASFEES": "false",
32
"GAS": "BOOST",
33
"BOOSTPERCENT": "10",
34
"GASLIMIT": "300000",
35
"GASPRIORITY_FOR_ETH_ONLY": "1.5"
36
​
37
}
38
]
Copied!
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 ","
1
[
2
{
3
(first token)
4
},
5
{
6
(second token)
7
}
8
]
Copied!
Such as:

... more examples to come (if needed)

let us know if you want us to write more examples in our TG channel :)
Last modified 4d ago