You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So when i try to run your scripts on my laptop
It gives this error. can you suggest how can i fix it ?
True
{"args": {"token0": "0xB690CCE5cAAB6dE576609A5801B94178aE40A99d", "token1": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c", "pair": "0x6f10e8818b7F07e864dC8bF82ca72CD3644E2382", "": 554595}, "event": "PairCreated", "logIndex": 406, "transactionIndex": 96, "transactionHash": "0x62719ae1f4fa5dc1f59d64107e2a3afcea630a73072876144e443f8e5a110837", "address": "0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73", "blockHash": "0x470d6a54835992a4737f63e85421464da71325542af3a05e87cbc1186b9c1a2f", "blockNumber": 12745866}
Token0: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"
Token1: "0xB690CCE5cAAB6dE576609A5801B94178aE40A99d"
next pair
here
Traceback (most recent call last):
File "sniper.py", line 123, in
main()
File "sniper.py", line 112, in main
loop.run_until_complete(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "sniper.py", line 98, in log_loop
handle_event(PairCreated)
File "sniper.py", line 89, in handle_event
buy()
File "sniper.py", line 50, in buy
signed_txn = web3.eth.account.sign_transaction(pancakeswap2_txn, 'tuition humble gun budget equal collect polar rally virus warfare fix tennis')
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_utils/decorators.py", line 18, in _wrapper
return self.method(obj, *args, **kwargs)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_account/account.py", line 727, in sign_transaction
account = self.from_key(private_key)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_utils/decorators.py", line 18, in _wrapper
return self.method(obj, *args, **kwargs)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_account/account.py", line 250, in from_key
key = self._parsePrivateKey(private_key)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_utils/decorators.py", line 18, in _wrapper
return self.method(obj, *args, **kwargs)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_account/account.py", line 774, in _parsePrivateKey
return self._keys.PrivateKey(HexBytes(key))
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/hexbytes/main.py", line 23, in new
bytesval = to_bytes(val)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/hexbytes/_utils.py", line 17, in to_bytes
return hexstr_to_bytes(val)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/hexbytes/_utils.py", line 50, in hexstr_to_bytes
return binascii.unhexlify(ascii_hex)
binascii.Error: Non-hexadecimal digit found
The text was updated successfully, but these errors were encountered:
So when i try to run your scripts on my laptop
It gives this error. can you suggest how can i fix it ?
True
{"args": {"token0": "0xB690CCE5cAAB6dE576609A5801B94178aE40A99d", "token1": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c", "pair": "0x6f10e8818b7F07e864dC8bF82ca72CD3644E2382", "": 554595}, "event": "PairCreated", "logIndex": 406, "transactionIndex": 96, "transactionHash": "0x62719ae1f4fa5dc1f59d64107e2a3afcea630a73072876144e443f8e5a110837", "address": "0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73", "blockHash": "0x470d6a54835992a4737f63e85421464da71325542af3a05e87cbc1186b9c1a2f", "blockNumber": 12745866}
Token0: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"
Token1: "0xB690CCE5cAAB6dE576609A5801B94178aE40A99d"
next pair
here
Traceback (most recent call last):
File "sniper.py", line 123, in
main()
File "sniper.py", line 112, in main
loop.run_until_complete(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "sniper.py", line 98, in log_loop
handle_event(PairCreated)
File "sniper.py", line 89, in handle_event
buy()
File "sniper.py", line 50, in buy
signed_txn = web3.eth.account.sign_transaction(pancakeswap2_txn, 'tuition humble gun budget equal collect polar rally virus warfare fix tennis')
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_utils/decorators.py", line 18, in _wrapper
return self.method(obj, *args, **kwargs)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_account/account.py", line 727, in sign_transaction
account = self.from_key(private_key)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_utils/decorators.py", line 18, in _wrapper
return self.method(obj, *args, **kwargs)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_account/account.py", line 250, in from_key
key = self._parsePrivateKey(private_key)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_utils/decorators.py", line 18, in _wrapper
return self.method(obj, *args, **kwargs)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/eth_account/account.py", line 774, in _parsePrivateKey
return self._keys.PrivateKey(HexBytes(key))
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/hexbytes/main.py", line 23, in new
bytesval = to_bytes(val)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/hexbytes/_utils.py", line 17, in to_bytes
return hexstr_to_bytes(val)
File "/Users/rahuja/Library/Python/3.8/lib/python/site-packages/hexbytes/_utils.py", line 50, in hexstr_to_bytes
return binascii.unhexlify(ascii_hex)
binascii.Error: Non-hexadecimal digit found
The text was updated successfully, but these errors were encountered: