An open API service indexing awesome lists of open source software.

https://github.com/nabikaz/wallex-pump-bot

Wallex registration, login, claim automation for pump challenge
https://github.com/nabikaz/wallex-pump-bot

bitcoin bot crypto exchange robot wallex

Last synced: about 2 months ago
JSON representation

Wallex registration, login, claim automation for pump challenge

Awesome Lists containing this project

README

          

# Wallex Pump Bot πŸš€

Wallex registration, login, claim automation for pump challenge.\
Referral: https://wallex.ir/pump?ref=avx0jtl

![GitHub stars](https://img.shields.io/github/stars/NabiKAZ/wallex-pump-bot?style=social)
![GitHub forks](https://img.shields.io/github/forks/NabiKAZ/wallex-pump-bot?style=social)
![GitHub issues](https://img.shields.io/github/issues/NabiKAZ/wallex-pump-bot)
![License](https://img.shields.io/github/license/NabiKAZ/wallex-pump-bot)

> ⭐ **Like this project? Give it a star!** ⭐
> πŸ’ **Want to support? Consider a donation!** πŸ’

## πŸ“Έ Screenshots

### Wallex pump contest
![Wallex pump contest](https://github.com/user-attachments/assets/0872e00e-582e-46fe-824e-4e219efb7702)

### Account Information Display
![Account Info](https://github.com/user-attachments/assets/13e564fb-619b-4cbb-a664-15bdf9a188ec)

### Ticket Claiming Process
![Ticket Claiming](https://github.com/user-attachments/assets/b12deb60-cd96-4a43-a022-ae26ebbbd0d6)

### Winners Report Display
![Winners Report](https://github.com/user-attachments/assets/60786d79-e73e-4e37-aa5e-957413d987fd)

## πŸ“‹ Features

- πŸ” **Account Registration**: Automated signup with captcha handling
- πŸ”‘ **Login Management**: Secure token-based authentication
- πŸ“Š **Profile Information**: Display account details and statistics
- 🎫 **Ticket Claiming**: Automated ticket claiming for pump challenges
- πŸ† **Winners Report**: Comprehensive winners analysis with prize calculations
- πŸ“± **Phone Filtering**: Filter operations by specific phone numbers
- πŸ•’ **Date Filtering**: Filter tickets by specific dates
- πŸ’Ύ **Token Management**: Automatic token saving and loading
- 🎨 **Colorized Output**: Beautiful console output with colors and tables

## πŸš€ Quick Start

1. **Clone and install**:
```bash
git clone https://github.com/NabiKAZ/wallex-pump-bot.git
cd wallex-pump-bot
npm install
```

2. **Configure your accounts** in `accounts.mjs`

3. **Start using**:
```bash
# Register new account
node bot.mjs -a signup

# Check account info
node bot.mjs -a info

# Claim tickets
node bot.mjs -a claim

# View winners report
node bot.mjs -a winners
```

## πŸ› οΈ Installation

1. **Clone the repository**:
```bash
git clone https://github.com/NabiKAZ/wallex-pump-bot.git
cd wallex-pump-bot
```

2. **Install dependencies**:
```bash
npm install
```

3. **Configure accounts**:
Edit `accounts.mjs` file and add your account information:
```javascript
export default [
{ phone: '09123456789', password: 'YOUR_PASSWORD', inviteCode: 'YOUR_INVITE_CODE' },
// Add more accounts as needed
];
```

## πŸš€ Usage

### Basic Commands

#### Registration (Signup)
```bash
node bot.mjs -a signup
```

#### Login
```bash
node bot.mjs -a login
```

#### Show Account Information
```bash
node bot.mjs -a info
```

#### Claim Tickets
```bash
node bot.mjs -a claim
```

#### View Winners Report
```bash
node bot.mjs -a winners
```

### Advanced Options

#### Filter by Phone Number
```bash
node bot.mjs -a info -p 09123456789
node bot.mjs -a winners -p 09123456789
```

#### Filter by Date
```bash
node bot.mjs -a claim -d 2025-01-19
node bot.mjs -a winners -d 2025-01-19
```

#### Combined Filters
```bash
node bot.mjs -a info -p 09123456789 -d 2025-01-19
node bot.mjs -a winners -p 09123456789 -d 2025-01-19
```

### Command Line Options

| Option | Alias | Description | Required | Choices |
|--------|-------|-------------|----------|---------|
| `--action` | `-a` | Action to perform | βœ… | `signup`, `login`, `info`, `claim`, `winners` |
| `--phone` | `-p` | Filter by phone number | ❌ | Any phone number |
| `--date` | `-d` | Filter by date (YYYY-MM-DD) | ❌ | Date in YYYY-MM-DD format |
| `--help` | `-h` | Show help | ❌ | - |

## πŸ“ File Structure

```
wallex-pump-bot/
β”œβ”€β”€ bot.mjs # Main bot application
β”œβ”€β”€ accounts.mjs # Account credentials configuration
β”œβ”€β”€ config.mjs # Global configuration settings
β”œβ”€β”€ tokens.json # Saved authentication tokens
β”œβ”€β”€ package.json # Project dependencies and scripts
β”œβ”€β”€ package-lock.json # Dependency lock file
β”œβ”€β”€ LICENSE # GPL-3.0 License
β”œβ”€β”€ .gitignore # Git ignore rules
└── README.md # This file
```

## βš™οΈ Configuration

### `config.mjs`
```javascript
export default {
apiBaseUrl: 'https://api.wallex.ir',
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36',
tokenExpireDays: 30, // Token expiration in days
maxAttempts: 3, // Maximum attempts for captcha/OTP
debug: false // Debug mode flag
};
```

### `accounts.mjs`
```javascript
export default [
{
phone: '09123456789',
password: 'YOUR_SECURE_PASSWORD',
inviteCode: 'YOUR_INVITE_CODE'
},
// Add more accounts...
];
```

## 🎯 Examples

### 1. Register New Account
```bash
node bot.mjs -a signup
```
This will:
- Show captcha image in browser
- Request OTP input
- Complete registration process
- Save authentication token

### 2. Check All Accounts Info
```bash
node bot.mjs -a info
```
Output example:
```
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Phone β”‚ Pump β”‚ First β”‚ Second β”‚ Referral β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 09123456789 β”‚ 5/5 β”‚ 3/3 β”‚ 2/2 β”‚ 10/10 (0) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
```

### 3. Claim Tickets for Specific Phone
```bash
node bot.mjs -a claim -p 09123456789
```

### 4. View Winners Report
```bash
node bot.mjs -a winners
```
Output example:
```
πŸ† Winners Report - All Days πŸ†

πŸ“… Winners by Date:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Date β”‚ Phone β”‚ Invite Code β”‚ Ticket # β”‚ Type β”‚ Prize β”‚ Amount β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 2025-07-21 β”‚ 09123456789 β”‚ abc123 β”‚ 12345678 β”‚ pump β”‚ 3 β”‚ 7,292 β”‚
β”‚ β”‚ 09987654321 β”‚ def456 β”‚ 87654321 β”‚ firstβ”‚ 4 β”‚ 119,211 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“± Winners by Phone Number:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Phone β”‚ Invite Code β”‚ Total Ticketsβ”‚ Winners Count β”‚ Prize β”‚ Total Amount β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 09123456789 β”‚ abc123 β”‚ 25 β”‚ 2 β”‚ 3+4 β”‚ 126,503 β”‚
β”‚ 09987654321 β”‚ def456 β”‚ 18 β”‚ 1 β”‚ 3 β”‚ 7,292 β”‚
β”‚ 09555111222 β”‚ ghi789 β”‚ 12 β”‚ 0 β”‚ N/A β”‚ N/A β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“Š Overall Statistics:
Total Accounts: 3
Total Winning Accounts: 2
Total Tickets: 55
Total Winning Tickets: 3
Total Prize Amount: 133,795 Toman
```

### 5. Check Old Tickets
```bash
node bot.mjs -a info -d 2025-01-18
```

## πŸ” Security Features

- **Token Management**: Secure token storage and automatic refresh
- **Captcha Handling**: Automated captcha display and input
- **Rate Limiting**: Built-in delays to prevent API abuse
- **Error Handling**: Comprehensive error handling with retry logic
- **Debug Mode**: Optional debug output for troubleshooting
- **Prize Data Security**: Hardcoded prize pools to prevent manipulation

## 🎨 Output Features

- **Colorized Console**: Beautiful colored output using chalk
- **Table Display**: Organized data display using cli-table3
- **Progress Indicators**: Clear status messages with timestamps
- **Error Messages**: Informative error messages with suggestions
- **Winners Analysis**: Comprehensive winners report with prize calculations
- **Statistical Overview**: Detailed statistics and summaries

## πŸ›‘οΈ Error Handling

The bot includes comprehensive error handling for:
- Network connectivity issues
- Invalid credentials
- Captcha failures
- Token expiration
- API rate limiting
- Invalid phone numbers
- Missing configuration

## πŸ“ License

This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.

## πŸ’– Support the Project

If you find this project helpful, please consider:

### ⭐ Star the Repository
Give this project a star on GitHub to show your support!

[![Star this repo](https://img.shields.io/github/stars/NabiKAZ/wallex-pump-bot?style=for-the-badge&logo=github&logoColor=white&labelColor=black&color=yellow)](https://github.com/NabiKAZ/wallex-pump-bot)

### πŸ’° Donate

Support the development of this project:

#### TON Wallet
```
nabikaz.ton
```

#### Other Cryptocurrencies
- **Bitcoin**: Coming soon
- **Ethereum**: Coming soon
- **USDT**: Coming soon

### πŸ”„ Share
Help others discover this project by sharing it with your friends and community!

## πŸ‘¨β€πŸ’» Author

**NabiKAZ**
- 🐦 Twitter: [@NabiKAZ](https://x.com/NabiKAZ)
- πŸ“± Telegram: [@BotSorati](https://t.me/BotSorati)
- 🌐 GitHub: [NabiKAZ](https://github.com/NabiKAZ)

## 🀝 Contributing

1. Fork the project
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## ⚠️ Disclaimer

This bot is for educational purposes only. Use it responsibly and in accordance with Wallex's terms of service. The authors are not responsible for any misuse or damage caused by this software.

## πŸ› Troubleshooting

### Common Issues

1. **Captcha not showing**: Make sure you have a default browser installed
2. **Token expired**: Run login command again to refresh token
3. **Network errors**: Check your internet connection and API availability
4. **Invalid credentials**: Verify your phone number and password in accounts.mjs

### Debug Mode

Enable debug mode in `config.mjs` to see detailed logs:
```javascript
export default {
// ... other settings
debug: true
};
```

## πŸ“Š Dependencies

- **axios**: HTTP client for API requests
- **chalk**: Terminal string styling
- **cli-table3**: Beautiful tables for console output
- **yargs**: Command line argument parsing

## πŸ”„ Changelog

### v2.0.0
- **New Feature**: Winners report with comprehensive analysis
- **Prize System**: Accurate prize calculations based on real data
- **Enhanced Tables**: Improved data display with color coding
- **Statistics**: Detailed overall statistics and summaries
- **Historical Data**: Support for all campaign days (2025-07-14 to 2025-07-21)

### v1.0.0
- Initial release
- Basic registration and login functionality
- Ticket claiming automation
- Phone and date filtering
- Token management system