This project helps you check ETH balances across multiple chains for a list of wallet addresses.
Follow these steps to set up and run the project:
- Git
- Python 3.6 or higher
-
Clone the repository:
git clone https://github.com/Parksybil/Self-debank.git cd Self-debank -
Install the required libraries:
pip install -r requirements.txt
-
Create a
wallet.txtfile in the project root directory if it doesn't exist already. -
Add the wallet addresses you want to check, one per line, to the
wallet.txtfile. For example:0x742d35Cc6634C0532925a3b844Bc454e4438f44e 0x742d35Cc6634C0532925a3b844Bc454e4438f44f -
Run the main script:
python main.py -
Check the console output for the total ETH balance across all chains and wallets.
-
The script will generate an
allbalance.csvfile with detailed balance information for each wallet on each chain.
The script currently supports the following chains:
- Arbitrum
- Base
- zkSync
- Ethereum
You can add more chains by modifying the chains dictionary in the script.
If you encounter any issues or have questions, please open an issue in the GitHub repository.
Dự án này giúp bạn kiểm tra số dư ETH trên nhiều chuỗi blockchain cho một danh sách các địa chỉ ví.
Làm theo các bước sau để cài đặt và chạy dự án:
- Git
- Python 3.6 trở lên
-
Clone kho lưu trữ:
git clone https://github.com/Parksybil/Self-debank.git cd Self-debank -
Cài đặt các thư viện cần thiết:
pip install -r requirements.txt
-
Tạo một tệp
wallet.txttrong thư mục gốc của dự án nếu nó chưa tồn tại. -
Thêm các địa chỉ ví bạn muốn kiểm tra vào tệp
wallet.txt, mỗi địa chỉ trên một dòng. Ví dụ:0x742d35Cc6634C0532925a3b844Bc454e4438f44e 0x742d35Cc6634C0532925a3b844Bc454e4438f44f -
Chạy script chính:
python main.py -
Kiểm tra kết quả đầu ra trên console để xem tổng số dư ETH trên tất cả các chuỗi và ví.
-
Script sẽ tạo ra một tệp
allbalance.csvvới thông tin chi tiết về số dư cho mỗi ví trên mỗi chuỗi.
Script hiện hỗ trợ các chuỗi sau:
- Arbitrum
- Base
- zkSync
- Ethereum
Bạn có thể thêm nhiều chuỗi khác bằng cách sửa đổi từ điển chains trong script.
Nếu bạn gặp bất kỳ vấn đề hoặc có câu hỏi, vui lòng mở một issue trong kho lưu trữ GitHub.