A sophisticated Python bot that monitors the hive-115276 community for introduction posts with specific metadata and automatically provides a complete welcome experience: replies, HBD transfers, and upvotes.
Create an instant "wow" moment for new Hive users by providing:
- Immediate response with a personalized Spanish welcome message
- Real money (1 HBD) sent directly to their wallet
- Community support through upvotes
- Seamless onboarding that demonstrates Hive's value immediately
- Monitors
hive-115276community in real-time - Validates complex metadata requirements:
app: "checkinecuador/1.0.0"developer: "menobass"tags: ["introduceyourself", "checkin"](both required)beneficiaries: [{"account": "hiveecuador", "weight": 8000}]country: "Ecuador"onboarderfield presentimagefield present (selfie requirement)
- Duplicate prevention: SQLite database tracks all processed posts
- Daily limits: Configurable maximum transfers per day
- Balance checks: Ensures sufficient HBD before transfers
- Dry-run mode: Test without real transactions
- Account verification: Validates recipients exist
- Welcome comments in Spanish with community guidelines
- HBD transfers (1.000 HBD default) with custom memo
- Upvotes (100% default) showing community support
- Comprehensive logging for all actions
- Real-time dashboard with daily statistics
- SQLite database with processed posts tracking
- Error monitoring and health checks
- Performance metrics and trends
# Install dependencies
pip install -r requirements.txt
# Copy environment template
cp .env.example .envEdit .env with your bot credentials:
HIVE_ACCOUNT_NAME=your-bot-account
HIVE_POSTING_KEY=your-posting-key
HIVE_ACTIVE_KEY=your-active-key# Run comprehensive tests
python test_advanced.py
# View dashboard (after running bot)
python dashboard.py# Start with dry-run mode (safe testing)
python main.py
# For production, set "dry_run": false in config.json{
"community": "hive-115276",
"transfer_amount": 1.0,
"upvote_percentage": 100,
"max_daily_transfers": 10,
"min_account_balance": 5.0,
"dry_run": false,
"check_interval": 60
}Posts must include this exact structure:
{
"app": "checkinecuador/1.0.0",
"developer": "menobass",
"tags": ["introduceyourself", "checkin"],
"beneficiaries": [
{"account": "hiveecuador", "weight": 8000}
],
"country": "Ecuador",
"onboarder": "sponsor-username",
"image": "https://example.com/selfie.jpg"
}python dashboard.pyShows:
- Bot health status
- Daily statistics
- Total performance metrics
- Recent processed posts
- Error tracking
bot.log: Detailed operation logsprocessed_posts.db: SQLite database with all records
- Each author can only receive rewards once per day
- Database tracks all processed posts permanently
- Prevents accidental double-payments
- Minimum account balance checks
- Daily transfer limits
- Real-time balance monitoring
- Dry-run mode for testing
- Network failure recovery
- Rate limit management
- Database corruption protection
- Comprehensive error logging
- Create new Replit project
- Upload all files
- Set environment variables in Secrets tab
- Install dependencies:
pip install -r requirements.txt - Run:
python main.py
- Ensure Python 3.8+ installed
- Create virtual environment
- Install dependencies
- Configure credentials
- Start with dry-run mode
The bot tracks:
- Posts processed: Daily count of valid introductions
- HBD distributed: Total welcome payments sent
- Upvotes given: Community support actions
- Response time: Average time from post to response
- Success rate: Percentage of successful actions
-
No posts detected
- Check community name in config
- Verify API connectivity
- Ensure metadata format is correct
-
Database errors
- Check file permissions
- Verify SQLite installation
- Review error logs
-
Transfer failures
- Confirm sufficient HBD balance
- Check daily limits
- Verify account permissions
# Enable verbose logging
export LOG_LEVEL=DEBUG
python main.py- Fork the repository
- Create feature branch
- Test thoroughly with dry-run mode
- Submit pull request
MIT License - see LICENSE file for details
For issues or questions:
- Check the troubleshooting section
- Review log files (
bot.log) - Run the test suite (
python test_advanced.py) - Check the dashboard (
python dashboard.py)
Built with β€οΈ for the Hive Ecuador community