This project demonstrates how to use the Agents framework to interact with the BONKAI MCP on Solana.
- Clone this repository
- Create a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install dependencies:
uv sync
Create a .env
file in the root directory with the following variables:
OPENAI_API_KEY=your_openai_api_key_here
KEYPAIR=your_solana_keypair_here
python main.py
or using uv:
uv run main.py
- Python 3.x
- OpenAI API key
- Solana keypair