Valley Protocol is an AI-powered attention aggregator built for the fragmented Web3 landscape. It delivers personalized, incentive-driven content feeds via Telegram, aligning user interest with project visibility. By embedding AI agents into engagement loops, Valley transforms marketing into an intelligent, cost-efficient attention engine.
- User/Group Registration & Management
- Point System
- Earn points by watching ads
- Daily point earning limit
- Individual/group point management
- Multilingual Support
- Korean/English supported
- Per-user/group language settings
- Ad System
- Random ad display
- Ad viewing history management
- Automatic point distribution
valley/
├── bot.py # Main bot execution file
├── requirements.txt # Project dependencies
├── messages/ # Multilingual messages
│ ├── ko_texts.py # Korean messages
│ └── en_texts.py # English messages
├── model/ # Database models
│ └── init/ # Database initialization
│ └── 01_create_tables.sql
└── handler/ # Bot handlers
└── button_handlers.py
- Install Dependencies
pip install -r requirements.txt- Database Setup
- Create a PostgreSQL database
- Execute model/init/01_create_tables.sql
- Environment Variables
export TELEGRAM_BOT_TOKEN="your_bot_token"- Run Bot
python bot.py- Stores user information and language settings
- Stores group information and language settings
- Manages points for users/groups
- Manages ad content and activation status
- Tracks ad viewing history and point earnings
- Start Bot
/start
- Check Points
/points
- Watch Ads
- Click AD button
- Earn points once per day
- Language Settings
- Click Language button
- Choose Korean/English
MIT License