Merak is a powerful automation tool designed for the Sui blockchain that handles token wrapping, swapping, and liquidity provision operations with extensive customization options.
███╗ ███╗███████╗██████╗ █████╗ ██╗ ██╗ ██████╗ ██████╗ ████████╗
████╗ ████║██╔════╝██╔══██╗██╔══██╗██║ ██╔╝ ██╔══██╗██╔═══██╗╚══██╔══╝
██╔████╔██║█████╗ ██████╔╝███████║█████╔╝ ██████╔╝██║ ██║ ██║
██║╚██╔╝██║██╔══╝ ██╔══██╗██╔══██║██╔═██╗ ██╔══██╗██║ ██║ ██║
██║ ╚═╝ ██║███████╗██║ ██║██║ ██║██║ ██╗ ██████╔╝╚██████╔╝ ██║
╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝
https://merak-testnet.obelisk.build/
- 💰 SUI Token Wrapping: Wrap SUI into wSUI
- 🔄 Token Swapping: Execute multiple swap operations between pairs
- 💧 Liquidity Provision: Add liquidity to various token pairs
- 🔐 Multi-Wallet Support: Process multiple wallets in sequence
- 🕸️ Proxy Support: Route transactions through proxies
- 📊 Transaction Tracking: Save transaction data for analysis
- 🎯 Customizable Operations: Enable/disable specific operations
- 🔄 Retry Mechanism: Automatic retries for failed transactions
- 🎭 Jitter: Add random timing variations to avoid pattern detection
- 📝 Detailed Logging: Colorful and informative console output
-
Clone the repository:
git clone https://github.com/zackymrf/merak_auto.git cd merak_auto -
Install dependencies:
npm install
-
Create configuration files:
- Create
mnemonic.txtwith your wallet mnemonics (one per line) - Optionally create
proxy.txtwith proxy URLs (one per line)
- Create
The bot is highly configurable through the config.js file:
const CONFIG = {
// Basic settings
"NETWORK": 'testnet', // 'testnet' or 'mainnet'
"MAX_RETRIES": 3, // Number of retry attempts
"DELAY_BETWEEN_TX_MS": 5000, // Delay between transactions
"USE_JITTER": true, // Add randomness to delays
// Token operations - customize amounts and pairs
"WRAP": { ... },
"SWAPS": { ... },
"LIQUIDITY": { ... }
};The bot follows this sequence for each wallet:
-
Initialization:
- Loads wallet keys from mnemonic phrases
- Sets up network connection (direct or via proxy)
- Checks wallet balance (if enabled)
-
Operation Sequence:
- Wraps native SUI tokens into wSUI
- Swaps wSUI → wDUBHE
- Swaps wDUBHE → wSUI
- Swaps wSUI → wSTARS
- Swaps wSTARS → wSUI
- Adds liquidity to wSUI-wSTARS pool
- Adds liquidity to wSUI-wDUBHE pool
- Adds liquidity to wDUBHE-wSTARS pool
-
Completion:
- Displays transaction statistics
- Moves to next wallet after configured delay
- Configure your settings in
config.js - Add your mnemonics to
mnemonic.txt(one per line) - Optionally add proxies to
proxy.txt(one per line) - Run the bot:
npm start
merak_auto/
├── bot.js # Main bot logic
├── config.js # Configuration settings
├── package.json # Project dependencies
├── mnemonic.txt # Wallet mnemonics (create this)
├── proxy.txt # Proxy list (optional)
├── .gitignore # Git ignore rules
└── README.md # This file
Each line in the proxy.txt file should follow this format:
protocol://username:password@host:port
Example:
http://user:pass@192.168.1.1:8080
socks5://user:pass@192.168.1.2:1080
- NEVER share your
mnemonic.txtfile - Always add
mnemonic.txtandproxy.txtto.gitignore - Run the bot in a secure environment
- Test with small amounts before running with larger values
This project is licensed under the terms of the MIT license.
Contributions to the Merak Auto Bot are welcome! Please feel free to submit a Pull Request.
Disclaimer: This tool is for educational purposes only. Always do your own research before executing blockchain transactions.