How to Start a New Defx Bot
Welcome to the Defx Trading Bot Setup Guide! This step-by-step walkthrough will help you set up your bot for trading on Defx, a decentralized perpetual exchange on Base (Ethereum L2). You’ll need a Sui wallet with at least $100 worth of Pumpkin tokens ready.Step 1: Set Up MetaMask for Base Network
Defx operates on Base, Coinbase’s Ethereum Layer 2 network. You’ll need a compatible wallet.- Install MetaMask browser extension if you don’t have it
- Create or import your Ethereum wallet
- Add Base Network to MetaMask:
- Click the network dropdown (top of MetaMask)
- Click Add Network or Add Network Manually
- Enter Base network details:
- Network Name: Base
- RPC URL:
https://mainnet.base.org - Chain ID:
8453 - Currency Symbol: ETH
- Block Explorer:
https://basescan.org
- Click Save
Step 2: Bridge Funds to Base Network
You’ll need ETH on Base for gas fees and USDC for trading.Option A: Bridge via Official Base Bridge
- Go to bridge.base.org
- Connect your MetaMask wallet
- Bridge ETH from Ethereum mainnet (you’ll need ~$20-50 for gas fees)
- Wait 5-10 minutes for the bridge to complete
Option B: Use Coinbase (Faster & Cheaper)
- Buy ETH or USDC on Coinbase
- Withdraw directly to Base Network (select “Base” as the network)
- Paste your MetaMask wallet address
- Confirm withdrawal (usually arrives in 1-2 minutes)
Step 3: Get USDC on Base for Trading
The bot trades with USDC on Base. You can:- Bridge USDC from Ethereum using bridge.base.org
- Swap ETH for USDC on Base using a DEX:
- Go to Uniswap and switch to Base network
- Swap ETH → USDC
- Keep some ETH for gas fees (~$10-20 worth)
Step 4: Create Defx Account
- Sign up using the Quantum Void Labs affiliate link: https://app.defx.com/join/CVR3QJ
- Click Connect Wallet
- Select MetaMask and authorize the connection
- Sign the signature request to authenticate
Sign Up with Quantum Void Labs Affiliate Link
Join Defx using our referral code CVR3QJ for exclusive benefits
Step 5: Deposit USDC into Defx
Before trading on Defx, you need to deposit USDC into their perpetual contract.- On the Defx dashboard, click Deposit or Transfer
- Select USDC as the asset
- Enter the amount you want to deposit
- Click Deposit and approve the transaction in MetaMask
- Wait for the transaction to confirm on Base (~2-5 seconds)
Step 6: Prepare Your Sui Wallet (Pumpkin Token Requirement)
- Ensure your Sui wallet has at least $100 worth of Pumpkin tokens
- Open trade.quantumvoid.org in a new tab
- Click Defx Perps or Multi Exchange Perps button
- Click Connect Sui Wallet, then authorize the connection
Step 7: Connect Your Base Wallet to QuantumVoid Bot
Since Defx is a DEX, the bot needs your wallet private key or uses WalletConnect for non-custodial trading.Option A: Wallet Private Key (Direct Integration)
- In MetaMask, click the three dots → Account Details → Export Private Key
- Enter your MetaMask password
- Copy your private key (keep this extremely secure)
- In the QuantumVoid dashboard, click Add Defx Credentials
- Paste your Base wallet private key
- Click Save Credentials
Option B: WalletConnect (If Supported)
- In the dashboard, click Connect via WalletConnect
- Scan the QR code with your mobile MetaMask
- Approve the connection
Step 8: Configure Your Bot Settings
- Click Bot Management in the sidebar
- Scroll down to Bot Configurations
- Click the
<>(JSON editor) icon to open the config editor - Customize your settings:
- Symbols: Choose trading pairs (e.g.,
ETH-PERP,BTC-PERP) - Wallet Exposure: Set your risk per symbol (e.g.,
0.1= 10% of balance) - Strategy: Select
geometric_long_onlyorvortex_dca
- Symbols: Choose trading pairs (e.g.,
- Save your configuration
Step 9: Set Leverage on Defx (Optional)
- On Defx, navigate to the trading pair you want to trade
- Click the leverage slider (usually 1x-20x available)
- Set your desired leverage (start with 5x-10x for safety)
- Choose Cross margin mode (shares margin across all positions)
Step 10: Launch and Monitor Your Bot
- Return to the QuantumVoid dashboard at trade.quantumvoid.org
- Click Start on your Defx bot configuration
- Watch transactions appear on Base network (view on BaseScan)
- Monitor in real-time:
- Dashboard: View P&L, positions, and performance metrics
- Trading Console > Bot Logs: See detailed event logs
- If you see any RED errors, report them in the Telegram group
🎉 Congratulations—Your Defx Bot is Live on Base!
Your bot is now trading on Defx! Monitor it closely at first, start with small amounts, and scale up as you gain confidence.Key Reminders:
- ✅ Keep ETH on Base for gas fees (transactions are cheap, ~$0.01-0.10)
- ✅ Cross margin mode is recommended for safer position management
- ✅ Start small and increase exposure gradually
- ✅ Monitor logs regularly for any errors or warnings
- ✅ Join Telegram for community support and updates
Troubleshooting
Bot won’t connect:
- Verify your Base wallet has ETH for gas fees
- Check that you’ve deposited USDC into Defx contract
- Ensure private key is correct (no extra spaces)
Transactions failing:
- Confirm you have enough ETH on Base for gas
- Check Defx contract has sufficient USDC deposited
- Verify you haven’t hit position limits on Defx
High gas fees:
- Base is an L2 with very low fees (~$0.01-0.10 per transaction)
- If fees are high, check you’re on Base network (Chain ID 8453), not Ethereum mainnet
Deposits not showing:
- Wait 5-10 seconds for Base block confirmation
- Check transaction on BaseScan
- Verify you approved the USDC spending limit
Need help?
Join our Telegram support group for fast assistance!Why Trade on Defx?
Low Fees
Base L2 offers $0.01-0.10 transaction costs
Decentralized
Non-custodial trading—you control your funds
Fast Execution
2-5 second block times on Base
EVM Compatible
Integrates with MetaMask and other EVM wallets
Happy trading with Pumpkin on Base! 🎃