
An automated bot for performing token swaps on Monad Testnet using multiple platforms:
- Rubic (MON ↔ WMON)
- TayaSwap (MON ↔ USDC/WETH)
- Hedgemony (MON ↔ HEDGE)
- BubbleFi (PEPE ↔ MLDK ↔ MYK swaps)
This bot runs 24/7 with randomized daily transactions, random delays, and built-in retry logic to avoid RPC limits.
- Multi-platform automated swaps (4 types)
- Randomized daily transaction count (57–98)
- Randomized delay between swaps (3–8 minutes)
- Automatic retries when hitting RPC limits
- API status updates for Rubic & Hedgemony
- https://testnet.rubic.exchange
- https://app.taya.fi/swap
- https://app.bubblefi.xyz/
- https://app.sherpa.trade/lander
Clone the repository
git clone https://github.com/Espenzuyderwyk/AutoSwap-Monad-All-in-one-DEX.git
cd AutoSwap-Monad-All-in-one-DEX
Install packages
npm install
Edit and input Private Key, Bearer, and Cookie:
nano .env
Run the script
node index.js
- Go to dex Monad Ecosystem (Rubic and Bubblefi)
- Login your wallet
- Approve manually (just one time)
- Click F12 on your keyboard
- Click Network
- Search status_info
- Scroll and you can see your Cookie

- Go to dex Monad Ecosystem ( Hedgemony )
- Login your wallet
- Click F12 on your keyboard
- Click Application
- Click Local Storage
- On Key u can see hedgemony_auth and Value is your Bearer
- Copy all bearer and paste on .env

See .env.example for the complete format:
Variable | Description |
---|---|
RPC_URL |
Monad Testnet RPC URL |
PRIVATE_KEY |
Your wallet private key (hex format without 0x ) |
WMON_ADDRESS |
WMON contract address |
ROUTER_ADDRESS |
Router contract address for WMON |
RUBIC_API_URL |
Rubic API endpoint |
RUBIC_COOKIE |
Rubic authentication cookie |
HEDGEMONY_BEARER |
Bearer token for Hedgemony API |
HEDGE_ADDRESS |
HEDGE token contract address |
BUBBLEFI_COOKIE |
BubbleFi authentication cookie |
- Ensure your private keys are in Base58 format
- Verify your wallets
- Check approving and swapping
- Monitor console for error messages
MIT License - See LICENSE file for details
This bot is for educational purposes only. Use at your own risk. The maintainers are not responsible for any lost funds or account issues.