Skip to content

Latest commit

Β 

History

History
131 lines (101 loc) Β· 2.95 KB

File metadata and controls

131 lines (101 loc) Β· 2.95 KB

πŸ€– OpenLedger Workers Bot

Version License: MIT node-current

Automated OpenLedger Worker with Multiple Account Support and Auto Claim Feature

✨ Features

  • πŸ”„ Auto claim daily rewards
  • πŸ” Auto reconnecting
  • πŸ‘₯ Support multiple accounts
  • 🌐 HTTP & SOCKS proxy support
  • πŸ’“ 30-second heartbeat interval
  • πŸ“Š Real-time points monitoring
  • πŸš€ Fast and efficient
  • πŸ›‘οΈ Error handling & auto retry
  • πŸ“ Clean and consistent logging

πŸ—οΈ Project Structure

project/
β”œβ”€β”€ config/
β”‚   β”œβ”€β”€ api.js         # API endpoints
β”‚   β”œβ”€β”€ headers.js     # HTTP & WebSocket headers  
β”‚   └── websocket.js   # WebSocket message format
β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ api.js         # API functions
β”‚   └── websocket.js   # WebSocket client
β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ banner.js      # CLI banner
β”‚   β”œβ”€β”€ capacity.js    # Random capacity generator
β”‚   β”œβ”€β”€ file.js        # File handler
β”‚   β”œβ”€β”€ logger.js      # Logger utility
β”‚   └── proxy.js       # Proxy helper
β”œβ”€β”€ main.js            # Main file
β”œβ”€β”€ wallets.txt        # Wallet addresses list
└── proxy.txt          # Proxy list

πŸ“¦ Installation

  1. Clone the repository:
git clone https://github.com/mbrx10/openLedgerBot.git
cd openLedgerBot
  1. Install dependencies:
npm install

πŸ’Ό Wallets Configuration

  1. create wallets.txt file with your wallet addresses
touch wallets.txt
  • add your wallet addresses to the wallets.txt file
nano wallets.txt

🌐 Proxy Configuration

  1. create proxy.txt file with your proxies
touch proxy.txt
  • add your proxies to the proxy.txt file
nano proxy.txt

πŸš€ Usage

Run the worker:

npm start

βš™οΈ Configuration

  1. Create wallets.txt with wallet addresses (one per line):
0x1234567890abcdef...
0xabcdef1234567890...

2.Create proxy.txt with proxies (one per line):

# HTTP proxies
http://ip:port
http://username:password@ip:port

# SOCKS proxies
socks4://ip:port
socks5://ip:port

⏱️ Intervals

  • 🎁 Daily rewards check: Every 60 minutes
  • πŸ“Š Points check: Every 9 minutes
  • πŸ’“ Heartbeat: Every 30 seconds

πŸ“¦ Dependencies

  • axios & axios-retry - Robust HTTP client with retry capability
  • ws - Fast & reliable WebSocket client
  • https-proxy-agent - HTTP/HTTPS proxy support
  • socks-proxy-agent - SOCKS proxy support
  • chalk - Beautiful console output

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

🀝 Contributing

Contributions, issues and feature requests are welcome!

⭐️ Show your support

Give a ⭐️ if this project helped you!