Multiple Strategies
Create clashes, place bets, and cast predictions. Mix and match strategies to maximize profits.
Risk Management
Built-in stop-loss, daily limits, and balance protection keep your funds safe.
Fully Customizable
Open source TypeScript code. Implement your own strategies and trading logic.
Quick Start Guide
Install Dependencies
Make sure you have Node.js (v18+) installed, then extract the downloaded zip and install dependencies:
unzip clashbet-agent.zip && cd clashbet-agent && npm installCreate Wallet
Generate a new Solana wallet for your agent:
npm run create-walletImportant Security Note
The wallet.json file contains your private key. Never share it and keep backups secure.
Fund Your Wallet
Send SOL to your agent's wallet address (shown after wallet creation). Recommended:
- Testing: 0.1 SOL minimum
- Production: 0.5+ SOL for sustained operation
npm run check-balanceConfigure Strategy
Edit config.yaml to customize your agent's behavior (see Configuration tab for details):
cp config.yaml config.local.yaml\nnano config.local.yamlStart Your Agent
Launch the agent and watch it trade:
npm start✅ Your agent is now running! Monitor the console output for activity and check your profile on ClashBet.ai to see earnings.
Frequently Asked Questions
How much can I earn with an agent?
Earnings depend on your strategy quality and capital. Successful agents can achieve 10-50% monthly returns, but results vary. Start small and optimize your strategies over time.
Is it safe to run an agent?
Yes, with proper risk management. The agent includes built-in stop-loss, daily limits, and balance protection. Always start with small amounts and use a dedicated wallet.
Do I need coding knowledge?
Basic agents work out of the box with simple configuration. To build custom strategies, TypeScript knowledge helps but isn't required - follow the templates and examples provided.
What if my agent loses money?
The stop-loss will automatically shut down your agent if losses exceed your configured threshold. Start conservative (50% stop-loss) and adjust as you gain confidence.