Code Monkey home page Code Monkey logo

limit-sniper's People

Contributors

cryptognome avatar prt1999 avatar tsarbuig avatar yaqub0r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

limit-sniper's Issues

sniper bot function

Hello!
Love your new bot. Please add to function for sniper "gas" and "limit gas"
image

Request for Dxsale Trigger Option

Hello,

I just open this Issue with what you already mentioned on the Limitswap Telegram Group. If another DXpresale adds liquidity it'll trigger our bots to buy even though it won't go through because it's not the coin we have it set up for. And there are always a few coins with DXpresale who are launching at the same time. So it would be amazing if we have an option for this that the Sniper bot keeps running till it buys on right coin in the next Update.

Thank you very much.

How does the bot work if transaction fails / Address is not whitelisted?

I tried to snipe a listing where you have to be whitelisted in the first 120 seconds when launched on pancake.

Token File:

{
"ADDRESS": "0x8a74bc8c372bc7f0e9ca3f6ac0df51be15aec47a",
"SYMBOL": "PLSPAD",

"USECUSTOMBASEPAIR": "false",
"BASESYMBOL": "USDT",
"BASEADDRESS": "0xdac17f958d2ee523a2206206994597c13d831ec7",

"BUYAMOUNT": "0.05",
"MULTIPLEBUYS": "true",
"BUYCOUNT": "7",
"RUGCHECK": "false"

}
]

I wanted to buy 7 times.

The bot tried 6 times when liquidity was added but was not able to buy because of whitelist.
All in the same second the liquidity was added. Which is actually amazing! (Good job)
And then it did one final transaction 2 minutes later which went trough.
What happened here ?

Yea but why did it try and fail 6 times and waited for actuall listing for the last transaction? Why not all 7 as soon as liquidity was added? Why not all 7 after i was whitelisted? Need some information here to configure it right for future launches.
Why and how? Shouldn't all 7 have failed? How did the bot wait and why?

How did the bot know when whitelisting was over?
I'm so confused here...

Do I need to configure it to

My 1 sucessfull transaction
Nov-10-2021 03:00:18 PM

My 6 failed transactions
Nov-10-2021 02:58:06 PM

Liquidity
Nov-10-2021 02:58:06 PM

ValueError: {'code': -32004, 'message': 'filter requests not supported'}

i was testing the code and when i did try executing it this error came

Uh oh, please send me this message: '{'code': -32004, 'message': 'filter requests not supported'}'

i basically changed nothign in the configs

full error from the logs

ERROR: 2021-12-12 01:05:24,802 {'code': -32004, 'message': 'filter requests not supported'}
Traceback (most recent call last):
File ".\sniper.py", line 953, in
run()
File ".\sniper.py", line 944, in run
scan(tokens)
File ".\sniper.py", line 607, in scan
filter = client.eth.filter({'address': routerAddress})
File "\Local\Programs\Python\Python39\lib\site-packages\web3\module.py", line 57, in caller
result = w3.manager.request_blocking(method_str,
File ".\Local\Programs\Python\Python39\lib\site-packages\web3\manager.py", line 187, in request_blocking
return self.formatted_response(response,
File ".\Local\Programs\Python\Python39\lib\site-packages\web3\manager.py", line 168, in formatted_response
raise ValueError(response["error"])
ValueError: {'code': -32004, 'message': 'filter requests not supported'}

Issues with Limit-Sniper v0.17

I tried 3 times sniping on BSC today with the new sniper bot v0.17. I have 100 Limit tokens.
1st Contract was at 20UTC on 07/03/21(22:00h in europe time);
tokens.json looked like this:
[
{
"ADDRESS": "0x86EB590eF1E2C3a74536DbeBB9d3967c5cC282F7",
"SYMBOL": "Game of Thrones Token",
"BUYAMOUNT": "0.013",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "5",
"RUGCHECK": "false"

}
]

The Bot started, detected that i had 100 limit tokens. Than it scanned for Liquidity for a while. Then when the Token launched, the Bot detected Liquidity, made a buy Transaction, but the Transaction failed. Then the Bot closed itself automatically. Unfortunately i cannot see the Txn Hash anymore. Not in the Erros file or in the BSCscan of my Adress. The only thing what i can read in the Error file is ;
INFO: 2021-07-02 21:47:48,540 Current $LIMIT Tokens Staked = 100.77674846268785
INFO: 2021-07-02 22:00:34,070 Buy Sent Stopping Bot
But it never bought the Token. The Token by the way was a scam. So i am not disapointed lol. But it was just a try..therefore not much bnb.

2nd and 3rd Token i tried with diffferent tokens.json:
[
{
"ADDRESS": "0x326E1d2D9e7F8F3a4Df13766Aa3B3AeF33546546",
"SYMBOL": "GrandpaDoge",
"BUYAMOUNT": "0.013",
"MULTIPLEBUYS": "true",
"BUYCOUNT": "2",
"RUGCHECK": "true"

}
]
and
[
{
"ADDRESS": "0x0084a178606dbd8e25796109244ca17f8abc35a6",
"SYMBOL": "Nigiri",
"BUYAMOUNT": "0.01",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "2",
"RUGCHECK": "false"

}
]
Both had the same Problem; The Bot was searching for Liquidity...but it never saw Liquidity, Even 5 Minutes after the Launch of both Tokens...the Bot never detected Liquidity. So it never bought. And both Tokens wer flying at the beginning.

In my Settings i have different Adresses for Limitwallet and the Wallet i want to buy with...but that was never the Problem with the Normal Bot with 50 tokens. Maybe that was my Problem.
Also i had "USECUSTOMNODE": "false".

Maybe i could help to make the Bot better. Would be insane if we have a good mempool Bot.

Failed to detect Liquidity Event - DxSale

[
{
"ADDRESS": "0x917841c010b3d86ED886F36F2C9807E07a2e3093",
"SYMBOL": "RISINGSUN",
"BUYAMOUNT": ".1",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "3",
"RUGCHECK": "false"
}
]

    "USECUSTOMNODE": "false",
    "CUSTOMNODE": "put your own node here if you want and make, USECUSTOMNODE = TRUE",
    "EXCHANGE": "pancakeswap",
	"DXSALE": "True",
    "DXPRESALECONTRACT": "0x5347dCCE6F8a5943663Bb79b97cfe221eDC661E9"

Limit-Sniper v0.24 Liquidity not detected on 2 Coins with presale on Dxsale

I tried to snipe 2 coins today which had a presale on DxSale with Limit-Sniper Bot v.024. But the Bot never detected Liquidity. So it never made a Buy Transaction on both Coins. I was waiting 10 minutes after Liquidity was added on pancakeswap, then i closed the Bot. The Error File is empty.

1st Coin Tokens.json was :
[
{
"ADDRESS": "0x17F54a196D7bE256083faE6b9444C297c73592CC",
"SYMBOL": "LuckyBabyDoge",
"BUYAMOUNT": "0.013",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "3",
"RUGCHECK": "false"
}
]

My Settings json was:

"USECUSTOMNODE": "false",
"CUSTOMNODE": "put your own node here if you want and make, USECUSTOMNODE = TRUE",
"EXCHANGE": "pancakeswap",
"DXSALE": "true",
"DXPRESALECONTRACT": "0xf4E10b4730d67715f520776f6cc66b45D5577d61"

The Coin was LuckyBabyDoge(https://t.me/LuckyBabyDogeCommunity). CA:0x17F54a196D7bE256083faE6b9444C297c73592CC Presale Adresse on Dxsale: 0xf4E10b4730d67715f520776f6cc66b45D5577d61

2nd Coin was:

[
{
"ADDRESS": "0xD4cdBd31f55c6F06B267809b5eca0f0C257c8A6A",
"SYMBOL": "PsychoDoge",
"BUYAMOUNT": "0.013",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "3",
"RUGCHECK": "false"
}
]

My Settings json was:

"USECUSTOMNODE": "false",
"CUSTOMNODE": "put your own node here if you want and make, USECUSTOMNODE = TRUE",
"EXCHANGE": "pancakeswap",
"DXSALE": "true",
"DXPRESALECONTRACT": "0xc56bF5aF0e84E5015C25AE1FAC4A7b12d8EF92Ae"

The Coin was PsychoDoge(https://t.me/psychodogecoin). CA:0xD4cdBd31f55c6F06B267809b5eca0f0C257c8A6A Presale Adresse on Dxsale: 0xc56bF5aF0e84E5015C25AE1FAC4A7b12d8EF92Ae

It would be amazing if you can solve this Issue.

Limit-Sniper v0.23 Transaction failed with Presale on Dxsale

I tried to snipe 2 Coins today with the Limit-Sniper Mempool Bot v0.23, where both Tokens had a Presale on Dxsale. It detected Liquidity on both Coins, but on both Coins the Buy Transaction failed.

The first Coin was: BUSDoge(https://t.me/BUSDoge)
My Settings.json was:
"USECUSTOMNODE": "false",
"CUSTOMNODE": "put your own node here if you want and make, USECUSTOMNODE = TRUE",
"EXCHANGE": "pancakeswap",
"DXSALE": "true",
"DXPRESALECONTRACT": "0x0d4E3A46e2fC6874f9BE64a49222171BE5e9433b"

And my Tokens.json was:
{
"ADDRESS": "0x4572713589430489D1CccE667a5Ff1cB48a979a5",
"SYMBOL": "BUSDoge",
"BUYAMOUNT": "0.013",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "3",
"RUGCHECK": "false"
}

I used a different Wallet to snipe, then where i hold my Limit Tokens. The Txn Hash is: 0x97c9bece8585a46508518c48372bca96f60f9ce47565831c099c4f6976fa7d2c
The Bot saw Liquidity and did a normal buy transaction... but the Transaction failed. In the Error Log stands "INFO: 2021-07-13 20:03:18,816 Buy Sent Stopping Bot".

The second Coin i Tried was Kingz Token(https://t.me/kingztoken)
My Settings.json was:
"USECUSTOMNODE": "false",
"CUSTOMNODE": "put your own node here if you want and make, USECUSTOMNODE = TRUE",
"EXCHANGE": "pancakeswap",
"DXSALE": "true",
"DXPRESALECONTRACT": "0x6824be4E4140badF486bC5BA57D0788f8F23c05d"

And my Tokens.json was:
{
"ADDRESS": "0xb55850B90650380f296f1aC9306008Ad7A31AfEf",
"SYMBOL": "Kingztoken",
"BUYAMOUNT": "0.013",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "3",
"RUGCHECK": "false"
}

On the second Coin i used the same Wallet where i hold the Limit Tokens to snipe. The Txn Hash is: 0x4bf10d6997fae55ebbe49dab3c31b925efd44ed24e4b61bda10f252a7ca9fc08

On this Token i don't know exactly what happened..but the Bot made a Transaction about 2 Minutes before the Token started. The Transaction failed. In the Error Log stands "INFO: 2021-07-13 23:59:16,604 Buy Sent Stopping Bot"

I hope i can help to improve the Bot. Thank you very much.

Sniper - modify BUYAMOUNT label

hi,
let's be coherent between our 2 bots : in tokens.json , rename "BUYAMOUNT" in "BUYAMOUNTINBASE"

(I know you can't use custom base, but still ;) )

Sniper tried to buy 10 minutes before liquidity was added

hi,

one user sent me his wallet, because he had 5 or 6 sniping failures in a row

Wallet and token

My analysis
As you can see in this token's transactions history :

I don't see any event that could trigger the Buy in the meantime

PS : there are also some other transaction failures in his wallet, maybe you can have a look.

Any idea? Thanks

MemoryError on pc 8gb RAM

ERROR: 2021-12-22 15:57:48,066 Could not find any function with matching selector
Traceback (most recent call last):
File "/home/watch/Desktop/sniper/sniper.py", line 624, in scan
decoded = contract.decode_function_input(input_bytes)
File "/home/watch/.local/lib/python3.9/site-packages/eth_utils/decorators.py", line 18, in _wrapper
return self.method(obj, *args, **kwargs)
File "/home/watch/.local/lib/python3.9/site-packages/web3/contract.py", line 466, in decode_function_input
func = self.get_function_by_selector(selector)
File "/home/watch/.local/lib/python3.9/site-packages/eth_utils/decorators.py", line 18, in _wrapper
return self.method(obj, *args, **kwargs)
File "/home/watch/.local/lib/python3.9/site-packages/web3/contract.py", line 459, in get_function_by_selector
return get_function_by_identifier(fns, 'selector')
File "/home/watch/.local/lib/python3.9/site-packages/web3/contract.py", line 1682, in get_function_by_identifier
raise ValueError(
ValueError: Could not find any function with matching selector
ERROR: 2021-12-22 15:59:56,847
Traceback (most recent call last):
File "/home/watch/Desktop/sniper/sniper.py", line 954, in
run()
File "/home/watch/Desktop/sniper/sniper.py", line 945, in run
scan(tokens)
File "/home/watch/Desktop/sniper/sniper.py", line 667, in scan
buy_many(pending, token, nonce)
File "/home/watch/Desktop/sniper/sniper.py", line 849, in buy_many
amount = token['BUYAMOUNT'] * DECIMALS
MemoryError

I got error with 4gb ram, still error on 8gb ram machine

Error Buying on Pancake Swap

2021-07-13 21:24:24.525582 Preloading Data
2021-07-13 21:24:24.530610 Binance Smart Chain Connected = True
2021-07-13 21:24:24.632409 Loading Smart Contracts...
2021-07-13 21:24:25.726104 Current $LIMIT Tokens Staked = 101.0
2021-07-13 21:24:25.726104 Sniper Subscription Active

[
{
"ADDRESS": "0xa995276a5fb2742b51615bc7dd59f404de82e034",
"SYMBOL": "NBL",
"BUYAMOUNT": "33",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "3",
"RUGCHECK": "false"
}
]

LIQUDITY ADDED AT - 9136379 135 Block Confirmations

"USECUSTOMNODE": "TRUE",
"CUSTOMNODE": "https://still-wispy-silence.bsc.quiknode.pro/ab288f366b2dff1428a27a6cf6e7a4bc985235555/",
"EXCHANGE": "Pancakeswap",
"DXSALE": "false",
"DXPRESALECONTRACT": "Insert DX SALE TOKEN CONTRACT ADDRESS HERE"

}

Skip first n blocks to overcome bot protection

Can we add the ability to set n blocks that the bot will wait before placing the order provided the price is still below the buy price set? Below is the code from the contract that is blacklisting first 2 blocks after liquidity.

uint256 private _liqAddBlock = 0;
uint256 private _snipeBlockAmount = 3;
uint256 private _manualSnipeBlock = 100;
uint256 public snipersCaught = 0;

if(_liquidityHolders[from] && to == pancakeswapV2Pair) {
_hasLiqBeenAdded = true;
_tradingEnabled = true;
_liqAddBlock = block.number;

if(block.number - _liqAddBlock < _snipeBlockAmount) {
_isSniper[recipient] = true;
snipersCaught++;
emit SniperCaught(recipient);

function addBotToList(address account) public onlyRole(DEFAULT_ADMIN_ROLE) {
require(block.number - _liqAddBlock < _manualSnipeBlock);
_isSniper[account] = true;
}

TRANSACTIONS FAILEDS

Hello. today I have scheduled the first token launch purchase with the bot and it has given me these errors:

INFO: 2021-07-14 20:54:31,173 *************************************************************************************
INFO: 2021-07-14 20:54:31,173 For Help & To Learn More About how the bot works please visit our wiki here:
INFO: 2021-07-14 20:54:31,173 https://cryptognome.gitbook.io/limitswap/
INFO: 2021-07-14 20:54:31,174 *************************************************************************************
INFO: 2021-07-14 20:54:33,596 Current $LIMIT Tokens Staked = 100.02064294531807

i put a little bit quantity of bnb for to buy and some transactions. i paste to continuation my tokkens settings:

{
"ADDRESS": "0x071fa11f7516cdeb366f7f7d91da5049f7086185",
"SYMBOL": "RBOYS",
"BUYAMOUNT": "0.09",
"MULTIPLEBUYS": "true",
"BUYCOUNT": "10",
"RUGCHECK": "true"
}
]

i wait your response. thanks.

ValueError: Could not find any function with matching selector

ERROR: 2021-07-06 17:56:15,866 Could not find any function with matching selector
Traceback (most recent call last):
File "sniper.py", line 402, in scan
File "eth_utils\decorators.py", line 18, in _wrapper
File "web3\contract.py", line 466, in decode_function_input
File "eth_utils\decorators.py", line 18, in _wrapper
File "web3\contract.py", line 459, in get_function_by_selector
File "web3\contract.py", line 1680, in get_function_by_identifier
ValueError: Could not find any function with matching selector


[
{
"ADDRESS": "0xEAc9873291dDAcA754EA5642114151f3035c67A2",
"SYMBOL": "DCB",
"BUYAMOUNT": "10",
"MULTIPLEBUYS": "true",
"BUYCOUNT": "1",
"RUGCHECK": "false"

}
]

Mempool Bot v0.22 Issue wit Presale on DxSale

I just tried to Snipe a coin which had a presale on DxSale with the Mempool Bot v.022. But the Bot never detected Liquidity. So it never made a Buy Transaction. The Error File is empty. My Tokens.json was :

[
{
"ADDRESS": "0x5fe023d72231D97b8Df7F679d01228f6Ba77A585",
"SYMBOL": "WhoisyourDoge",
"BUYAMOUNT": "0.013",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "3",
"RUGCHECK": "false"
}
]

My Settings json was:

"USECUSTOMNODE": "false",
"CUSTOMNODE": "put your own node here if you want and make, USECUSTOMNODE = TRUE",
"EXCHANGE": "pancakeswap",
"DXSALE": "true",
"DXPRESALECONTRACT": "0x333BA4C5572046c50B52608A6e80C18C7E15ed4A"

The Coin was WhosyourDoge(https://t.me/WhosYourDoge). CA:0x5fe023d72231D97b8Df7F679d01228f6Ba77A585 Presale Adresse on Dxsale: 0x333BA4C5572046c50B52608A6e80C18C7E15ed4A

Also i use a different Wallet to snipe than the Wallet my Limit Tokens are. Thank you very much.

Sniper Bot v0.24 wasn't able to buy on a fair Launch

https://github.com/Lukas12111/Images/blob/main/Limitswap_image/Sniper%20Bot%20v.0.24%20vs.%20Limitswap%2003.24.PNG

Please look at the Image above. I tried to snipe a Token called KnixNft (Adress: 0x9705f359973b7ff7e9392d47a28a7dcb7b4783f2... which by the way was a scam but in the first 10 minutes there would have been good money to make with the sniper bot) which was a fair launch on BSC. No presale. I sniped with the Limit Sniper v.024 and the Limitswap Bot v.3.24 to test both bots. The Limitswap Bot v.3.24 detected Liquidity and made a Buy Transaction(Txn Hash = 0x1a6e6cd3b8e8e0d231bc05041d67347a68573e22a500aa076579ee8a81d87778) on 4 blocks after Liquidity was added. Which is very good...altough 4 Blocks after liquidity add is too slow on such a hyped fair launch..but i knew that before, so i just put in 0.013bnb. Just to test. On the other site the Sniper bot v0.24 saw also liquidtiy and the Transaction Hash which you can see on the Image above = 0x8527086744f41e4378cc2c376f63cd4a4e40e11c841be6e09556af5164fed7ef did not just fail, it also not appears in the bscscan of my address. The Limit sniper bot then kept running 1 minute and then it said "Transaction Timed Out, Breaking Check Cycle" and 15 seconds after that it said "Buy Sent Stopping Bot". But i can't see what happend on the txn hash.

The error folder just says:
INFO: 2021-08-04 16:01:10,180 Transaction Timed Out, Breaking Check Cycle....
INFO: 2021-08-04 16:01:25,189 Buy Sent Stopping Bot

I used a different wallet to snipe, than my wallet which holds the limit token.

My settings was:

"USECUSTOMNODE": "false",
"CUSTOMNODE": "put your own node here if you want and make, USECUSTOMNODE = TRUE",
"EXCHANGE": "pancakeswap",
"DXSALE": "false",
"DXPRESALECONTRACT": "Just put in here the presale adress of the token if dxsale=true"
}

My tokens.json was:

[
{
"ADDRESS": "0x9705f359973b7ff7e9392d47a28a7dcb7b4783f2",
"SYMBOL": "Knix",
"BUYAMOUNT": "0.013",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "3",
"RUGCHECK": "false"
}
]

What does that mean if the Transaction Hash which is made by the Limit Sniper v.024 doesen't even show up in the Bscscan of my Adress??

Hope you can find the bug.

Bot crashed when liqduidity was found for the second time

Was working fine until it crashed right when liquidity was added. Limitswap on the other hand found liquididty and worked.
Last time sniper bot worked but this crash happened once before too.
Never changed settings.

Using a custom node

The error:

INFO: 2021-11-18 15:54:14,356 Current $LIMIT Tokens Staked = 100.75948286261585
ERROR: 2021-11-18 15:56:12,317 Could not find any function with matching selector
Traceback (most recent call last):
File "sniper.py", line 424, in scan
File "eth_utils\decorators.py", line 18, in _wrapper
File "web3\contract.py", line 466, in decode_function_input
File "eth_utils\decorators.py", line 18, in _wrapper
File "web3\contract.py", line 459, in get_function_by_selector
File "web3\contract.py", line 1680, in get_function_by_identifier
ValueError: Could not find any function with matching selector
ERROR: 2021-11-18 15:59:41,679 Tried to read 32 bytes. Only got 0 bytes
Traceback (most recent call last):
File "sniper.py", line 740, in
File "sniper.py", line 731, in run
File "sniper.py", line 424, in scan
File "eth_utils\decorators.py", line 18, in _wrapper
File "web3\contract.py", line 471, in decode_function_input
File "eth_abi\codec.py", line 181, in decode_abi
File "eth_abi\decoding.py", line 127, in call
File "eth_utils\functional.py", line 45, in inner
File "eth_abi\decoding.py", line 173, in decode
File "eth_abi\decoding.py", line 127, in call
File "eth_abi\decoding.py", line 145, in decode
File "eth_abi\decoding.py", line 127, in call
File "eth_utils\functional.py", line 45, in inner
File "eth_abi\decoding.py", line 269, in decode
File "eth_abi\decoding.py", line 127, in call
File "eth_abi\decoding.py", line 198, in decode
File "eth_abi\decoding.py", line 305, in read_data_from_stream
eth_abi.exceptions.InsufficientDataBytes: Tried to read 32 bytes. Only got 0 bytes

Token Settinga:
[
{
"ADDRESS": "0xca830317146BfdDE71e7C0B880e2ec1f66E273EE",
"SYMBOL": "GULL",

"USECUSTOMBASEPAIR": "false",
"BASESYMBOL": "USDT",
"BASEADDRESS": "0xdac17f958d2ee523a2206206994597c13d831ec7",

"BUYAMOUNT": "1",
"MULTIPLEBUYS": "true",
"BUYCOUNT": "300",
"RUGCHECK": "false"

}
]

Sniper triggered a BUY order even if no liquidity was added

a user reported me that his Sniper bot tried to buy this token, even if no liquidity was added, as you can see with the timestamp...

Do you have any idea of which event could have triggered a BUY order ?

tokens with liquidity but untradable for a moment

As i mentioned in telegram i had several failed trades with tokens which released their cash but could not be traded right away. Limitswap and Sniper tried to buy but were unsuccessful. Limiswap doesn't stop trying to buy and fees are lost every time.
For exemple this token: https://bscscan.com/address/0xe6E6A022b4d4e538Ca0a1f47941CbBF3F9cc1467#code
and this one: https://bscscan.com/address/0x1eca0f549ef9b42fa1933e70a15b2db437ab0a84#code. It seems the first have go live fonction but not the second one.
I'me giving you my wallet bscan to see the failed transactions. block 9635673 for the first token and 9613371 to 9612895 for the second (I was not in front of my computer for this one)
https://bscscan.com/address/0x217e855768953a5417db878a4d0c2f8c7d9d7314
Thanks for your hard work

Sniper did not trigger

[
{
"ADDRESS": "0x1190074795DAD0E61b61270De48e108427f8f817",
"SYMBOL": "CMERGE",
"BUYAMOUNT": ".4",
"MULTIPLEBUYS": "true",
"BUYCOUNT": "4",
"RUGCHECK": "false"
}
]

error log

INFO: 2021-07-16 18:08:43,938 Current $LIMIT Tokens Staked = 100.98457063878817
ERROR: 2021-07-16 18:18:21,189 Could not find any function with matching selector
Traceback (most recent call last):
File "sniper.py", line 433, in scan
File "eth_utils\decorators.py", line 18, in _wrapper
File "web3\contract.py", line 465, in decode_function_input
File "eth_utils\decorators.py", line 18, in _wrapper
File "web3\contract.py", line 458, in get_function_by_selector
File "web3\contract.py", line 1679, in get_function_by_identifier
ValueError: Could not find any function with matching selector

Error sniping. Auto close

I was trying to snipe a launch and the bot closes when the liquidity was added.
ERROR: 2021-10-04 16:02:40,582
Traceback (most recent call last):
File "sniper.py", line 740, in
File "sniper.py", line 731, in run
File "sniper.py", line 466, in scan
File "sniper.py", line 641, in buy_many
MemoryError

Sniper on Pinksale [Enhancement]

Hello guys !

I come on TsarBuig's advice to suggest an improvement for the Sniper. The current sniper works by detecting liquidity from DXSale. However, more and more Tokens are launching on PinkSale. Adding it would be so cool !

I also have a proposal regarding bypassing an anti-bot. Most of the time, they are based on a very high launch tax for the first few seconds or minutes. I don't know if it would be possible for the sniper to check the tax and initiate the purchase when it detects a defined normal tax?

Thank you for your attention and i take this opportunity to say well done for all the work on LimitSwap and the Sniper!
Have a nice day,

Sniper Bot (Auto Configure to Buy the Max Amount of Tokens allowed by Contract)

Hi, not sure why this isn't already an option for the sniper & limit buy bot since 99% of the new projects now employ buy limit in their projects.

Reason why it should be an option (true or false) is because most of the time the dev gives out contract address at last minute without mentioning the buy limit.

So it would be nice if we could just submit a fixed number of ETH to be used to purchase the maximum amount of tokens allowed by the contract and then have the balance of the amount returned back to our wallets.

I have seen this done by other users many times. Here's an example of what i meant:

https://ibb.co/WzmFX9C

The guy used 0.1 ETH as the fixed number of ETH to purchase the maximum amount of tokens allowed by the contract (which is 0.0259 ETH in this case) and have the remaining balance returned back to his wallet.

Thank you.

FAILED TRANSACTIONS PANCAKESWAP

Hello. today I have scheduled the first token launch purchase with the bot and it has given me these errors:

INFO: 2021-07-14 20:54:31,173 *************************************************************************************
INFO: 2021-07-14 20:54:31,173 For Help & To Learn More About how the bot works please visit our wiki here:
INFO: 2021-07-14 20:54:31,173 https://cryptognome.gitbook.io/limitswap/
INFO: 2021-07-14 20:54:31,174 *************************************************************************************
INFO: 2021-07-14 20:54:33,596 Current $LIMIT Tokens Staked = 100.02064294531807

i put a little bit quantity of bnb for to buy and some transactions. i paste to continuation my configuratios:

[
{

    "WALLETADDRESS": "0x8E315572a795d63ac801F10C0C034799A984dad9",

    "USECUSTOMNODE": "TRUE",
    "CUSTOMNODE": "https://bsc-dataseed.binance.org/",
    "EXCHANGE": "pancakeswap",
	"DXSALE": "false",
    "DXPRESALECONTRACT": "Insert DX SALE TOKEN CONTRACT ADDRESS HERE"
}

]

{
"ADDRESS": "0x071fa11f7516cdeb366f7f7d91da5049f7086185",
"SYMBOL": "RBOYS",
"BUYAMOUNT": "0.09",
"MULTIPLEBUYS": "true",
"BUYCOUNT": "10",
"RUGCHECK": "true"
}
]

i wait your response. thanks.

Requesting DxSale support

As you wrote on my last Ticket/Issue...i am creating here a new ticket with the request that the Limit Sniper Mempool Bot can detect Liquidity when a Token launches on Pancakeswap, when the Token had a presale on Dxsale. I don't mean to snipe on the DxSale Site for the Presale. I mean after the Presale when its adding liquidity and then Launches on pancakeswap. Because everyday there are a lot of Coins who are launching like that these days. And most of the times they are not scams. Unlike the so called "Fair launches" or "normal launches" without Presale. These Tokens are 90 percent scams today in my experience...especially on BSC. Therefore i am not sniping these fair launches anymore on BSC...too much money I lost. So it would be amazing and changing the game for me if the mempool Bot will detect Liquidity on Coins which had a presale on DxSale, when they Lauch on Pancakeswap. Thank you very much.

Issue 0.18

getting this error when launching it (using same settings/tokens of previous versions, which were working):

Traceback (most recent call last):
File "sniper.py", line 40, in
File "json_init_.py", line 293, in load
File "json_init_.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 353, in raw_decode
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 10 column 1 (char 499)
[211728] Failed to execute script sniper

sniper bot don´t buy

Hello. I used the sniper to launch a token and the bot did not buy.

liquidity was added in wmatic and these were the settings that I used:

"BUYAMOUNT": "900",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "1",
"RUGCHECK": "false"
"USECUSTOMNODE": "false",
"EXCHANGE": "quickswap",

the bot detected liquidity but the transaction failed. why??

It would be a very good option for the bot to have the option of detecting liquidity in usdc since many launches are with that stable coin.

image

Dudes and fails

hi, i'm having trouble with the sniper, and i'd like to ask a questions:

1: If I use the bot on two different computers, but with the same limitwallet, will this slow them down?

2: Does a quick purchase depend on my internet speed?

yesterday I used the sniper in the same coin but in two different houses, one bought in block 3 and the other in block 27. This translates into money losses. I would like to know why you have bought so expensive.

link of when they added the liquidity:
https://bscscan.com/tx/0xd354d29563fb315400390b7bb72b84915e21ae996afcd42bfd9051145ed1f7f3

a link of my first purchase 3 blocks after adding the liquidity:
https://bscscan.com/tx/0xb25945fe0260cf12992cac14a0d4129b9e27909234476631fa1470958545c77e

and a link to the other purchase in block 24:

https://bscscan.com/tx/0xd9bd2d9e1bdee9e560d2584b346bcf9a5567e626c4567a7fb3618eac61d71e6e

The same config in the sniper tokkens.

BUYAMOUN 0.07BNB
BUYCOUNT 8

Sniper tries to buy BEFORE liquidity is added

a user sent me this transaction failed : https://etherscan.io/tx/0xec911facfb0286e998c14a8a0e0ee64b9c1386f3cf24b945e6db79d6baf92c52

after analysis, it failed because Sniper bot tried to buy BEFORE liquidity was added (1 block before) : https://etherscan.io/tx/0xa4eebe52cda78cf9bce8ec8b45264291ddf585510c4c31a8f4644fde240aeacc

--> check why, maybe it's because the Gas price used by Sniper is slightly hight ? (27.1 gwei vs 27 gwei) : shouldn't it be the opposite ? Slightly lower ?

Crash on launch with Quickswap (Polygon Network)

Error:
ValueError: {'code': -32004, 'message': 'filter requests not supported'}

Using custom node doesn't crash the Sniper. Can scan mempool but can't buy tokens. Probably you have an issue with your free node on Polygon Network.

settings.json
[
{
"LIMITWALLETPRIVATEKEY": "Xp",
"LIMITWALLETADDRESS": "Xw",
"WALLETADDRESS": "Yw",
"PRIVATEKEY": "Yp",
"USECUSTOMNODE": "false",
"CUSTOMNODE": "https://speedy-nodes-nyc.moralis.io/e2736ac4ab4845c165a9774d/polygon/mainnet",
"EXCHANGE": "Quickswap",
"DXSALE": "false",
"DXPRESALECONTRACT": "Insert DX SALE TOKEN CONTRACT ADDRESS HERE"
}
]

tokens.json

[
{
"ADDRESS": "0xfd3cab942b42e5df4164f536e47c68c606f6fd96",
"SYMBOL": "PolyBabyInu",
"BUYAMOUNT": "30",
"MULTIPLEBUYS": "false",
"BUYCOUNT": "3",
"RUGCHECK": "false"
}
]

Sniper Bot Node Issue

Sniper Bot V0.14 will not let me add my custom full node. If I change "usecustomnode" to "true" and change "customnode" to "http://127.0.0.1:(port#)" the sniper will not start when I click the sniper.exe file, it just opens the cmd window and closes after a couple seconds. If I change the "usecustomnode" to "false" the sniper.exe file works, but the default node is much slower than mine. I have tried to use "https:" this also does not work. I believe this is a program error only because when I use the exact same settings for my own full node with limitswap v3.15 - v3.18. It works 100% of the time. The reason for the 127.0.0.1 address is because my node is a standalone server and I am using linux putty on my workstation to remote connect to my node. Again the settings in the image below work perfect 100% of the time with regular limitswap.
LimitSwap issue

Execute transaction after a defined time liqduidity was added

Would be so amazing if there was a feature to execute transaction after a certain time liquidity was detected. So it would easily be possible to snipe all those whitelist idos.

I made a previous issue where I don't understand how the bot works.
This feature would solve all problems for whitelisted idos like pulsepad for example.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.