A sophisticated automated trading bot designed to increase trading volume and liquidity on the Cetus DEX through intelligent buy/sell operations on the SUI blockchain.
- π Automated Volume Generation - Continuous buy/sell swaps to boost trading volume
- π° Multi-Wallet Distribution - Spreads operations across multiple wallets for enhanced impact
- β‘ Gas Optimization - Smart fee management and transaction optimization
- π― Customizable Parameters - Adjustable trade amounts, intervals, and wallet distribution
- π‘οΈ Error Handling - Robust error recovery and transaction monitoring
- π Real-time Monitoring - Live transaction tracking and balance monitoring
- π§ Easy Configuration - Simple environment-based setup
- Node.js (v20 or higher)
- npm or yarn package manager
- SUI wallet with sufficient balance
- Cetus DEX pool access
git clone https://github.com/cashblaze129/sui-volume-bot-on-cetus.git
cd sui-volume-bot-on-cetusnpm install
# or
yarn installCreate a .env file in the root directory:
cp .env.example .envConfigure the following environment variables:
# Network Configuration
NETWORK=mainnet
RPC_ENDPOINT=https://fullnode.mainnet.sui.io
RPC_WEBSOCKET_ENDPOINT=wss://fullnode.mainnet.sui.io
# Wallet Configuration
PRIVATE_KEY=your_wallet_private_key_here
# Trading Parameters
POOL_ID=your_cetus_pool_id_here
SWAP_AMOUNT_MIN=1
SWAP_AMOUNT_MAX=10
BUY_INTERVAL_MIN=30
BUY_INTERVAL_MAX=120
DISTRIBUTE_INTERVAL_MIN=60
DISTRIBUTE_INTERVAL_MAX=300npm start
# or
yarn startSWAP_AMOUNT_MIN/MAX: Range of SUI amounts for each swap (in SUI)BUY_INTERVAL_MIN/MAX: Time intervals between buy operations (in seconds)DISTRIBUTE_INTERVAL_MIN/MAX: Time intervals between wallet distributions (in seconds)
NETWORK: Target network (mainnet/testnet)RPC_ENDPOINT: SUI RPC endpoint for blockchain interactionsRPC_WEBSOCKET_ENDPOINT: WebSocket endpoint for real-time updates
To use a specific Cetus pool, update the POOL_ID in your .env file:
POOL_ID=0x1234567890abcdef... # Your specific pool IDThe bot automatically creates and manages multiple wallets for volume distribution. Wallets are stored in data.json and can be managed through the utility functions.
The bot provides detailed logging including:
- Transaction hashes with SuiScan links
- Wallet addresses and balances
- Swap operation details
- Error messages and recovery attempts
- Automatic priority fee calculation
- Transaction batching for efficiency
- Smart retry mechanisms
- Random amount generation within configured ranges
- Multi-wallet rotation for natural trading patterns
- Dynamic interval adjustment
- Never share your private keys
- Use dedicated wallets for bot operations
- Monitor transactions regularly
- Start with small amounts for testing
- Keep your
.envfile secure and never commit it to version control
sui-volume-bot-on-cetus/
βββ src/ # Source code
β βββ index.js # Main exports
β βββ suiKit.js # SUI interaction utilities
β βββ swap.js # Swap operations
β βββ types/ # Type definitions
βββ utils/ # Utility functions
β βββ index.js # Utility exports
β βββ utils.js # Core utilities
βββ constants/ # Configuration constants
β βββ constants.js # Environment variables
β βββ index.js # Constants exports
βββ index.js # Main bot entry point
βββ gather.js # Data gathering utilities
βββ package.json # Dependencies and scripts
βββ README.md # This file
-
Insufficient Balance
Error: Not enough SUI in main walletSolution: Ensure your main wallet has sufficient SUI balance
-
RPC Connection Issues
Error: RPC endpoint not respondingSolution: Check your RPC endpoint configuration and network connectivity
-
Pool Not Found
Error: Pool ID not foundSolution: Verify your pool ID is correct and accessible
Enable detailed logging by setting the DEBUG environment variable:
DEBUG=true