Access is a comprehensive community management tool designed for blockchain and cryptocurrency communities. It provides a suite of features to help community managers with managing access to their chats/channels based on the blockchain and other Telegram assets' data
- Access bot: @access_app_bot
- Wallet Indexing: Index blockchain wallets associated with community members
- Transaction Lookup: Track blockchain transactions for mentioned wallets to keep balance up-to-date
- Sticker Integration: Exclusive integration with @sticker_bot
- Gifts Indexing: Index both onchain and offchain gifts balance
- Community Management: Tools for automatic managing community members
- Backend: Python with FastAPI, Celery for task processing, Golang for transaction tracking
- Frontend: React with TypeScript, built with Vite
- Database: PostgreSQL
- Caching & Message Queue: Redis
- Containerization: Docker and Docker Compose
To install and run the project, follow these steps:
-
Prerequisites:
- Docker and Docker Compose must be installed on your machine
- Python 3.11.6 and pip should be installed to set up the virtual environment
- Node.js and Yarn for frontend development (if needed)
-
Setup:
- Clone the repository:
git clone https://github.com/openbuilders/access-tool.git
- Navigate to the project directory:
cd access-tool
- Set up the Python virtual environment:
make setup-venv
- Configure environment variables (see Configuration section)
- Build the Docker containers:
make build
- Start the application:
make run
- Clone the repository:
-
Verification:
- The API should be accessible at
http://localhost:8000
- The frontend should be accessible at
http://localhost:3000
- The API should be accessible at
Check configuration guide to see how to deploy the application locally or on the server.
The project includes several make commands to simplify development and operation:
make build
: Build all Docker containersmake run
: Start all servicesmake stop
: Stop all servicesmake down
: Stop and remove containersmake restart
: Restart all servicesmake migrate
: Run database migrationsmake test
: Run testsmake setup-venv
: Set up Python virtual environment
- Backend:
- API: The main backend service that provides REST endpoints
- Indexer: Processes and indexes blockchain, stickers and gifts data
- Community Manager: Manages community-related operations
- Scheduler: Handles scheduled tasks
- Transaction Lookup: Provides transaction tracking functionality
- Frontend: User interface for the application
We welcome contributions to Access! Here's how you can contribute:
- Fork the repository
- Create a feature branch:
git checkout -b feat/your-feature-name
- Configure local environment
make setup-venv
- Make your changes
- Run tests:
make test
- Commit your changes:
git commit -m "Add some feature"
- Push to the branch:
git push origin feat/your-feature-name
- Submit a pull request
- Python code should follow PEP 8 guidelines and be formatted with Ruff
- TypeScript code should follow the project's ESLint configuration
- All code should include appropriate tests
- Commit messages should be clear and descriptive
Before submitting a pull request, ensure that all tests pass:
make test
This project is licensed under the MIT License — see the LICENSE file for details.
- Access is developed and maintained by independent developers and Open Builders
- Special thanks to all contributors who have helped shape this project