ymmmmmmmm / berachaintools Goto Github PK
View Code? Open in Web Editor NEWberachain领水,合约交互。berachain claim test tokens,contract interactions.
License: GNU General Public License v3.0
berachain领水,合约交互。berachain claim test tokens,contract interactions.
License: GNU General Public License v3.0
it change to cloudflare. can this be bypassed? :(
Hey! jus tried, entered my 2capcha key and gen this 2024-01-29 15:17:48.549 | WARNING | main:get_2captcha_google_token:25 - {'errorId': 22, 'errorCode': 'ERROR_TASK_ABSENT', 'errorDescription': 'Task property is empty or not set. Please refer to API v2 documentation'}
Hi bro, i can't run program
pls help me
show error :
Traceback (most recent call last):
File "D:\Data Engineer\BT_Python\Tools\BeraChainTools-main\bera_tools.py", line 11, in
from eth_account import Account
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_account_init_.py", line 5, in
from eth_account.account import (
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_account\account.py", line 20, in
from eth_keyfile import (
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_keyfile_init_.py", line 5, in
from eth_keyfile.keyfile import (
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_keyfile\keyfile.py", line 21, in
from Crypto import (
ModuleNotFoundError: No module named 'Crypto'
PS D:\Data Engineer\BT_Python\Tools\BeraChainTools-main> pip install pycryptodome
Requirement already satisfied: pycryptodome in d:\data engineer\ai\anaconda\lib\site-packages (3.17)
PS D:\Data Engineer\BT_Python\Tools\BeraChainTools-main> python bera_tools.py
Traceback (most recent call last):
File "D:\Data Engineer\BT_Python\Tools\BeraChainTools-main\bera_tools.py", line 11, in
from eth_account import Account
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_account_init_.py", line 5, in
from eth_account.account import (
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_account\account.py", line 20, in
from eth_keyfile import (
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_keyfile_init_.py", line 5, in
from eth_keyfile.keyfile import (
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_keyfile\keyfile.py", line 21, in
from Crypto import (
ModuleNotFoundError: No module named 'Crypto'
PS D:\Data Engineer\BT_Python\Tools\BeraChainTools-main> python bera_tools.py
Traceback (most recent call last):
File "D:\Data Engineer\BT_Python\Tools\BeraChainTools-main\bera_tools.py", line 11, in
from eth_account import Account
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_account_init_.py", line 5, in
from eth_account.account import (
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_account\account.py", line 20, in
from eth_keyfile import (
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_keyfile_init_.py", line 5, in
from eth_keyfile.keyfile import (
File "D:\Data Engineer\AI\Anaconda\lib\site-packages\eth_keyfile\keyfile.py", line 21, in
from Crypto import (
ModuleNotFoundError: No module named 'Crypto'
Hello, can you tell me what this error is? I use a proxy like http://user:password@ip:port
why proxy you uses? link?
I have tried travichproxies and proxy-seller, both are not working as expected. Kindly advice
result = bera.claim_bera(proxies={'http':"http://75q8b5a3bj:[email protected]:12321", 'http':"75q8b5a3bj:[email protected]:12321"})
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000002B85BD3BA30>
RuntimeError: Event loop is closed
already use ezrecaptcha & proxy ip.
run on windows10
多账号领水得切换IP,大家是怎么解决的
Hi, how did you get contract ABI's?
I'd like to develop a new contract interaction built on existing codes. Would you show me how can I fetch the ABI of a contract?
Thanks!
When trying to get tokens from faucet, it says that this is overloaded even though I can request tokens via GUI
PS E:\cypto\BeraChainTools> python .\drip_tokens.py
2024-01-21 09:11:44.319 | ERROR | main:claim:53 - ('Connection aborted.', InvalidURL('URL can't contain control characters. '<!doctype html><html data-adblockkey="mfwwdqyjkozihvcnaqebbqadswawsajbalqudfetxrn0hr05fup7ejt77xynpmrbpmy4vk8kyihnknpednjoanjcaxdxckqjn0nxkzjl7tcijd8aohxk158caweaaq==_vcpxxoo86hlgwmqe4itkit33u' (found at least ' ')'))
2024-01-21 09:11:44.320 | ERROR | main:claim:54 - ('Connection aborted.', InvalidURL('URL can't contain control characters. '<!doctype html><html data-adblockkey="mfwwdqyjkozihvcnaqebbqadswawsajbalqudfetxrn0hr05fup7ejt77xynpmrbpmy4vk8kyihnknpednjoanjcaxdxckqjn0nxkzjl7tcijd8aohxk158caweaaq==_vcpxxoo86hlgwmqe4itkit33u' (found at least ' ')'))
Traceback (most recent call last):
File "E:\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 769, in urlopen
conn = self._get_conn(timeout=pool_timeout)
│ │ └ None
│ └ <function HTTPConnectionPool._get_conn at 0x0000023A9014FEC0>
└ <urllib3.connectionpool.HTTPSConnectionPool object at 0x0000023A91916FC0>
File "E:\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 295, in _get_conn
return conn or self._new_conn()
│ │ └ <function HTTPSConnectionPool._new_conn at 0x0000023A901587C0>
│ └ <urllib3.connectionpool.HTTPSConnectionPool object at 0x0000023A91916FC0>
└ None
File "E:\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 1070, in _new_conn
return self.ConnectionCls(
│ └ <class 'urllib3.connection.HTTPSConnection'>
└ <urllib3.connectionpool.HTTPSConnectionPool object at 0x0000023A91916FC0>
File "E:\Python\Python312\Lib\site-packages\urllib3\connection.py", line 535, in init
super().init(
File "E:\Python\Python312\Lib\site-packages\urllib3\connection.py", line 146, in init
super().init(
File "E:\Python\Python312\Lib\http\client.py", line 878, in init
self._validate_host(self.host)
│ │ │ └ <property object at 0x0000023A9013F420>
│ │ └ <urllib3.connection.HTTPSConnection object at 0x0000023A9198D070>
│ └ <function HTTPConnection._validate_host at 0x0000023A8E47E840>
└ <urllib3.connection.HTTPSConnection object at 0x0000023A9198D070>
File "E:\Python\Python312\Lib\http\client.py", line 1280, in _validate_host
raise InvalidURL(f"URL can't contain control characters. {host!r} "
│ └ '<!doctype html><html data-adblockkey="mfwwdqyjkozihvcnaqebbqadswawsajbalqudfetxrn0hr05fup7ejt77xynpmrbpmy4vk8kyihnknpednjoan...
└ <class 'http.client.InvalidURL'>
http.client.InvalidURL: URL can't contain control characters. '<!doctype html><html data-adblockkey="mfwwdqyjkozihvcnaqebbqadswawsajbalqudfetxrn0hr05fup7ejt77xynpmrbpmy4vk8kyihnknpednjoanjcaxdxckqjn0nxkzjl7tcijd8aohxk158caweaaq==_vcpxxoo86hlgwmqe4itkit33u' (found at least ' ')
During handling of the above exception, another exception occurred:
哈哈哈 我冲了100块 一下给我run没了 也没领到 这个流程有点。。 我们一起维护吧
这是什么问题呢
python .\bera_tools.py 没有日志输出,具体都需要修改那些参数
Maybe they changed something.
"Warning! Error encountered during contract execution []"
建议换成.env.example
.env加到.gitignore
Hey im getting the following error:
`
Downloading toolz-0.12.1-py3-none-any.whl (56 kB)
---------------------------------------- 56.1/56.1 kB ? eta 0:00:00
Building wheels for collected packages: lru-dict, pyunormalize
Building wheel for lru-dict (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for lru-dict (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_ext
building 'lru' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lru-dict
Building wheel for pyunormalize (pyproject.toml) ... done
Created wheel for pyunormalize: filename=pyunormalize-15.1.0-py3-none-any.whl size=516050 sha256=314d598331951cec2caf61567cf0e7941d08f0c9fc318f0a6097138ba856316f
Stored in directory: c:\users\user\appdata\local\pip\cache\wheels\2a\bd\bb\28798325f033d03157374640b90b54298b4145d04209618850
Successfully built pyunormalize
Failed to build lru-dict
ERROR: Could not build wheels for lru-dict, which is required to install pyproject.toml-based projects
`
How do i fix this dependancy error?
bex_swap printing fail, status == 0
Hey! i tried
get_ip_url = 'http://user:pass@ip:port' and got
WARNING | main:claim:140 - 0x9ea0b342d****************************1f8b5cd597c6f98:Cannot connect to host <title>407 proxy authentication required<:80 ssl:default [getaddrinfo failed]
how can i fix it? and can i use different proxy foe every account using mayde txt with all proxies?
Thank you for your work
感谢分享代码,从你这我学到很多。
以 swap WBERA => USDC 为例:
我看到你使用了 usdc_pool_address
,但是我不知道它是从哪找到的。
我是区块链新手,请你不吝赐教。
They changed something, the faucet does not work through the script, does it work for you? with my proxies (new and old) - the logs are returned Null
I thought maybe you had an error and wrote my own faucet collector, but the same thing, the faucet api returns a 500 error.
I tried to take the finished product of another creator, but it was the same, and I checked the proxies 3 times, they work.
do you have a problem getting from the faucet now? or something is wrong on my side
I tried all captcha services, the problem is not with them, the proxy is also ok 🤷♂️
usdc_pool_liquidity_address, weth_pool_liquidity_address in config.
I want to add honey/eth to the pool, do you know the honey address?
thank you
--
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.