- Provides a sample and working implementation for Solana Agent
- Login via your Solana wallet via Helius
- Utilizes FastAPI and Next.js - the most popular and supported web frameworks
- Clone this repo -
git clone https://github.com/truemagic-coder/solana-agent-app - Ensure the latest LTS Node is installed with yarn
- Ensure Python 3.13.2 is installed with poetry
- Ensure Docker and Docker Compose are installed
docker-compose up -d- Rename
.env.sampleto.envinsiteandagent - Get and set the OPENAI_API_KEY var in the
agentfolder for.envfile - OpenAI API Key - Get and set the ZEP_API_KEY in the
agentfolder for.envfile - Zep - Get and set the RPC_URL in the
agentfolder for the.envfile - Helius - Get and set the ALPHAVYBE_API_KEY in the
agentfolder for the.envfile - AlphaVybe - Get and set the BIRDEYE_API_KEY in the
agentfolder in the.envfile - Birdeye - Get and set the PRIVATE_KEY in the
agentfolder for the.envfile - your bs58 encoded private key for a burner Solana wallet - Set all the secrets to match between the
.envfiles and make themuuidv4s or other strong keys - UUID Generator - Open two terminal windows
Terminal 1:cd site && yarn install && yarn devTerminal 2:cd agent && poetry install && bash ./dev.sh- Open your browser to
http://localhost:3000
- Provision a MongoDB database
- Get one domains with two sub-domains - one for the
siteand one for theagent - Add the proper env vars on Heroku or Dokku to your apps
- Add your proper remotes in each folder locally (each folder
siteandagentshould be their own repos -git init) - For each folder (
siteandagent) git commit and git push to the main branch
Contributions to Solana Agent Example App are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
