Comments (4)
Please put double quotes " around the address to make it string. "Address"
from defi_pancakeswapbot.
i've already done that, i will paste the error below. Thanks for the help.
File "C:\Users\lucas\codigo_programas\PycharmProjects\DeFi_PanCakeSwapBot-master\DeFiTranscation.py", line 291, in
runCode()
File "C:\Users\lucas\codigo_programas\PycharmProjects\DeFi_PanCakeSwapBot-master\DeFiTranscation.py", line 133, in runCode
BNB_balance, TokenSymbol, NoOfTokens, params = InitializeTrade()
File "C:\Users\lucas\codigo_programas\PycharmProjects\DeFi_PanCakeSwapBot-master\DeFiTranscation.py", line 70, in InitializeTrade
BNB_balance = web3.eth.get_balance(walletAddress)
File "C:\Python39\lib\site-packages\web3\module.py", line 53, in caller
(method_str, params), response_formatters = method.process_params(module, *args, **kwargs) # noqa: E501
File "C:\Python39\lib\site-packages\web3\method.py", line 202, in process_params
_apply_request_formatters(params, self.request_formatters(method)))
File "C:\Python39\lib\site-packages\eth_utils\functional.py", line 45, in inner
return callback(fn(*args, **kwargs))
File "C:\Python39\lib\site-packages\web3\method.py", line 52, in _apply_request_formatters
formatted_params = pipe(params, request_formatters)
File "cytoolz/functoolz.pyx", line 667, in cytoolz.functoolz.pipe
return c_pipe(data, funcs)
File "cytoolz/functoolz.pyx", line 642, in cytoolz.functoolz.c_pipe
data = func(data)
File "cytoolz/functoolz.pyx", line 505, in cytoolz.functoolz.Compose.call
ret = func(ret)
File "cytoolz/functoolz.pyx", line 254, in cytoolz.functoolz.curry.call
raise
File "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.call
return self.func(*args, **kwargs)
File "C:\Python39\lib\site-packages\web3_utils\abi.py", line 799, in map_abi_data
return pipe(data, *pipeline)
File "cytoolz/functoolz.pyx", line 667, in cytoolz.functoolz.pipe
return c_pipe(data, funcs)
File "cytoolz/functoolz.pyx", line 642, in cytoolz.functoolz.c_pipe
data = func(data)
File "cytoolz/functoolz.pyx", line 254, in cytoolz.functoolz.curry.call
raise
File "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.call
return self.func(*args, **kwargs)
File "C:\Python39\lib\site-packages\web3_utils\abi.py", line 833, in data_tree_map
return recursive_map(map_to_typed_data, data_tree)
File "C:\Python39\lib\site-packages\web3_utils\decorators.py", line 30, in wrapped
wrapped_val = to_wrap(*args)
File "C:\Python39\lib\site-packages\web3_utils\formatters.py", line 89, in recursive_map
items_mapped = map_collection(recurse, data)
File "C:\Python39\lib\site-packages\web3_utils\formatters.py", line 76, in map_collection
return datatype(map(func, collection))
File "C:\Python39\lib\site-packages\web3_utils\formatters.py", line 88, in recurse
return recursive_map(func, item)
File "C:\Python39\lib\site-packages\web3_utils\decorators.py", line 30, in wrapped
wrapped_val = to_wrap(*args)
File "C:\Python39\lib\site-packages\web3_utils\formatters.py", line 90, in recursive_map
return func(items_mapped)
File "C:\Python39\lib\site-packages\web3_utils\abi.py", line 830, in map_to_typed_data
return ABITypedData(func(*elements))
File "C:\Python39\lib\site-packages\web3_utils\normalizers.py", line 78, in wrapper
modified = to_wrap(type_str, data)
File "C:\Python39\lib\site-packages\web3_utils\normalizers.py", line 196, in abi_address_to_hex
validate_address(data)
File "C:\Python39\lib\site-packages\web3_utils\validation.py", line 177, in validate_address
raise TypeError('Address {} must be provided as a string'.format(value))
TypeError: Address None must be provided as a string
from defi_pancakeswapbot.
Related Issues (20)
- Swap to other token then WBNB? HOT 1
- Bot not Working!!!! HOT 5
- Error message, cannot get it up and running?? HOT 11
- support BUSD ? HOT 3
- I had to re-open ticket Error message, cannot get it up and running?? #12 HOT 15
- Question HOT 1
- On Ubuntu 20.04 HOT 1
- busd HOT 1
- ERROR START HOT 1
- Sound alert
- TRANSFER_FAILED HOT 4
- Value transfer did not complete from a contract execution reverted
- How to run on MacOS HOT 2
- Runtime Error HOT 1
- I cannot start bot
- Feature request - Automation HOT 2
- Issue Sell HOT 1
- Win32gui requirements file error. HOT 11
- Run on linux? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from defi_pancakeswapbot.