An automated bot for claiming daily rewards on OpenLedger Testnet.
Register: https://testnet.openledger.xyz
- Automatic daily reward claiming
- User information display
- Streak tracking
- Countdown timer for next claim
- Colorful console output
- Error handling
- Node.js (v14 or higher)
- npm (Node Package Manager)
- Clone this repository
git clone https://github.com/im-hanzou/OpenLedger-DailyClaim.git
cd OpenLedger-DailyClaim
- Install dependencies
npm install
-
Register on OpenLedger Testnet
-
Get your JWT Token
- Login to your OpenLedger Testnet account
- Go to Dashboard
- Press F12 or right-click and select 'Inspect' to open Developer Tools
- Go to Network tab
- Look for any request and find the 'Authorization' header value
- Copy the token (it starts with "Bearer ")
-
Create edit data.txt file in the project root`
-
Run the bot
node main.js
- User Info: Displays your address, ID, and referral code
- Claim Details: Shows your tier, daily point allocation, and claim status
- Streak Info: Tracks your consecutive daily claims
- Auto Claim: Automatically claims rewards when available
- Countdown Timer: Shows time remaining until next claim
The bot includes comprehensive error handling:
- Token reading errors
- API request failures
- Network issues
- Invalid responses
If any error occurs, the bot will:
- Log the error with details
- Wait for 1 hour
- Attempt to retry the operation
Feel free to fork this repository and submit pull requests for any improvements.
This project is licensed under the MIT License - see the LICENSE file for details.
This bot is for educational purposes only. Use it at your own risk. The developer is not responsible for any account-related issues or potential losses. Source : https://github.com/Galkurta/