Skip to content

explaindio/letsbonk-agent-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LetsBonk Agent Example

This project demonstrates how to use the Agents framework to interact with the BONKAI MCP on Solana.

Setup

  1. Clone this repository
  2. Create a virtual environment:
    python -m venv .venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    
  3. Install dependencies:
    uv sync
    

Configuration

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

Running the Example

python main.py

or using uv:

uv run main.py

Requirements

  • Python 3.x
  • OpenAI API key
  • Solana keypair

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%