A powerful AI agent built on ElizaOS for managing and engaging with the Sui blockchain ecosystem. The bot combines blockchain analytics, community engagement, and automated giveaways to create an interactive and informative experience for the Sui community.
- Real-time market data tracking
- Token metrics and price analysis
- Protocol performance monitoring
- Whale activity tracking
- On-chain transaction analysis
- Automated Twitter interactions
- Sentiment analysis
- Community feedback collection
- Engagement metrics tracking
- Meme generation and sharing
- Automated giveaway creation and management
- Smart winner selection
- On-chain reward distribution
- Twitter integration for announcements
- Engagement-based participant filtering
- Clone the repository:
git clone https://github.com/yourusername/capybara-sui-bot.git
cd capybara-sui-bot
- Install dependencies:
# Install Python dependencies
pip install -r requirements.txt
# Install Node.js dependencies
npm install
- Set up environment variables:
cp .env.example .env
# Edit .env with your configuration
Required environment variables:
TWITTER_API_KEY
: Twitter API keyTWITTER_API_SECRET
: Twitter API secretTWITTER_ACCESS_TOKEN
: Twitter access tokenTWITTER_ACCESS_TOKEN_SECRET
: Twitter access token secretOPENAI_API_KEY
: OpenAI API keySUI_RPC_URL
: Sui blockchain RPC URLBLOCKVISION_API_KEY
: Blockvision API keySUI_WALLET_ADDRESS
: Sui wallet address for transactionsSUI_PRIVATE_KEY
: Sui wallet private key
- Start the bot:
python main.py
- Run tests:
pytest tests/
- Development mode:
python -m pytest tests/ -v
The bot is built on ElizaOS and consists of several key components:
CapybaraAgent
: Main agent class handling all operationsSuiTool
: Blockchain interaction and analyticsBlockvisionTool
: Market data and analyticsGiveawayTool
: Giveaway managementCommunityTool
: Community engagement
Each tool is designed to handle specific functionality:
- Blockchain data retrieval
- Transaction monitoring
- Token price tracking
- Wallet integration
- Market data analysis
- Protocol metrics
- Whale activity tracking
- Trend analysis
- Giveaway creation
- Winner selection
- Reward distribution
- Twitter integration
- Twitter engagement
- Sentiment analysis
- Community feedback
- Content generation
The project includes comprehensive tests for all components:
# Run all tests
pytest
# Run specific test file
pytest tests/test_blockvision_tool.py
# Run with coverage report
pytest --cov=src tests/
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built on ElizaOS
- Powered by Sui Blockchain
- Analytics by Blockvision
For support, please open an issue in the GitHub repository or contact the maintainers.