GithubHelp home page GithubHelp logo

ymmmmmmmm / berachaintools Goto Github PK

View Code? Open in Web Editor NEW
325.0 12.0 235.0 58 KB

berachain领水,合约交互。berachain claim test tokens,contract interactions.

License: GNU General Public License v3.0

Python 98.85% Solidity 1.15%
berachain blockchain python recaptcha-solver web3 web3py

berachaintools's People

Contributors

dylanma1994 avatar ymmmmmmmm 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

berachaintools's Issues

-

--

honey pool liquidity address

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

Faucet is overloaded

When trying to get tokens from faucet, it says that this is overloaded even though I can request tokens via GUI

No Run

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'

use batch script have some issue.

Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000002B85BD3BA30>
RuntimeError: Event loop is closed

already use ezrecaptcha & proxy ip.

run on windows10

dependancy error on latest python version 3.12.2

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?

Swap error

将usdc转换成weth,这些交换操作的智能合约一直报错无法成功

1710420265925

使用代码一直无法成功执行合约,但使用手工点击页面可以成功执行交换合约,也会报错大概需要多点几次

1710420368739

是否是更新了函数接口

ABI

Hi, how did you get contract ABI's?

怎么启动项目

python .\bera_tools.py 没有日志输出,具体都需要修改那些参数

proxy

why proxy you uses? link?

Connection Error

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没了 也没领到 这个流程有点。。 我们一起维护吧

这是什么问题呢

500 error api

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 🤷‍♂️

Connection

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

Capcha problem

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'}

New contract development

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!

Mint 0xhoneyjar Failed

Maybe they changed something.
"Warning! Error encountered during contract execution []"

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.