Automated trading bot for OroSwap DEX on Zig Network. This bot performs automated swaps and liquidity operations to earn points and potential airdrops.
- Automated Swapping: Performs 10 swaps per cycle alternating between ORO/ZIG tokens
- Liquidity Management: Automatically adds and withdraws liquidity from pools
- Multi-Wallet Support: Process multiple wallets simultaneously
- Point Tracking: Monitors and displays earned points after each cycle
- 24-Hour Cycles: Runs continuously with 24-hour intervals
- Node.js (v16 or higher)
- npm or yarn
- Private keys or mnemonic phrases for your wallets
- ZIG and ORO tokens in your wallets
-
Clone the repository
git clone https://github.com/vikitoshi/Oroswap-Auto-Bot.git cd Oroswap-Auto-Bot
-
Install dependencies
npm install
-
Configure environment variables
cp .env.example .env
-
Edit the
.env
file# Add your private keys or mnemonic phrases PRIVATE_KEY_1=your_private_key_here_or_mnemonic_phrase PRIVATE_KEY_2=your_second_private_key_here PRIVATE_KEY_3=your_third_private_key_here # Add more as needed...
Variable | Description | Example |
---|---|---|
PRIVATE_KEY_1 |
First wallet private key or mnemonic | 0x1234... or word1 word2 ... |
PRIVATE_KEY_2 |
Second wallet private key or mnemonic | 0x5678... or word1 word2 ... |
PRIVATE_KEY_N |
Additional wallets | Continue numbering |
- Swap Amount: Random between 0.001 - 0.002 tokens per swap
- Liquidity Amount: 1 ORO + 0.495169 ZIG per cycle
- Swaps per Cycle: 10 swaps (5 ORO→ZIG, 5 ZIG→ORO)
- Cycle Interval: 24 hours
- Max Spread: 10%
- Slippage Tolerance: 10%
-
Start the bot
npm start
-
Enter number of transactions
Enter number of transactions to execute: 5
-
Monitor the output The bot will display:
- Swap transactions with explorer links
- Liquidity operations
- Points earned
- 24-hour countdown timer
Each cycle performs the following operations:
-
10 Swaps (alternating ORO↔ZIG)
- Swap 1: ORO → ZIG
- Swap 2: ZIG → ORO
- ... (continues alternating)
-
Add Liquidity
- Adds ORO/ZIG to liquidity pool
- Receives LP tokens
-
Remove Liquidity
- Withdraws all LP tokens
- Receives back ORO/ZIG tokens
-
Point Tracking
- Displays current points balance
- Shows swap and pool join counts
- RPC URL:
https://rpc.zigscan.net/
- API URL:
https://testnet-api.oroswap.org/api/
- Explorer:
https://zigscan.org/tx/
- Gas Price:
0.025uzig
- ORO/ZIG Pool:
zig15jqg0hmp9n06q0as7uk3x9xkwr9k3r7yh4ww2uc0hek8zlryrgmsamk4qg
- ORO Token:
zig10rfjm85jmzfhravjwpq3hcdz8ngxg7lxd0drkr
- ZIG:
uzig
(6 decimals) - ORO:
coin.zig10rfjm85jmzfhravjwpq3hcdz8ngxg7lxd0drkr.uoro
(6 decimals)
The bot tracks various metrics that contribute to airdrop eligibility:
- Swap Count: Number of successful swaps performed
- Pool Joins: Number of times liquidity was added
- Total Points: Combined score from all activities
- Belief Price Protection: Dynamic pricing prevents unfavorable swaps
- Max Spread Limit: 10% maximum spread protection
- Error Recovery: Continues operation even if individual transactions fail
- Gas Optimization: Uses 'auto' gas estimation
-
"Insufficient funds" error
- Ensure wallets have enough ZIG and ORO tokens
- Check gas fee requirements
-
"Invalid private key" error
- Verify private key format (64 hex characters)
- Or ensure mnemonic has 12-24 words
-
Network connection issues
- Check internet connection
- RPC endpoint might be temporarily down
-
Transaction failures
- Pool might be temporarily unavailable
- Try reducing transaction frequency
For detailed logging, you can modify the logger functions in the code or add additional console.log statements.
Join our Telegram channel for updates, support, and discussions:
Get the latest updates on:
- Bot improvements and new features
- Airdrop opportunities and strategies
- Technical support and troubleshooting
- Community tips and tricks
- This bot is for educational and research purposes
- Use at your own risk and responsibility
- Always test with small amounts first
- Not financial advice - DYOR (Do Your Own Research)
- The developers are not responsible for any losses
This project is licensed under the MIT License - see the LICENSE file for details.
- v1.0.0: Initial release with basic swapping and liquidity features
- Check Releases for latest updates
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
If you need help or have questions:
- Check the Issues page
- Join our Telegram channel
- Create a new issue if you found a bug
⭐ If this bot helps you, please give it a star on GitHub!
Made with ❤️ by Airdrop Insider ID