This repository contains a deploy-only script for launching a Solana token on Pump.fun and optionally running an AI agent (Claude) to generate token parameters and post promotional messages. It is not the final production codebase and does not include a full token deployment utility.
The deployment uses an existing ipfs:// metadata URI. The token created by this script does not end with .pump.
- A single-file deploy script (
mainv2.py) used to deploy the $FETCH token - A lightweight Claude/OpenRouter integration to generate name/symbol and narratives
- A simple runtime loop for AI-driven decisions (optional)
- Python 3.10+
- OpenRouter API key
- Solana private key for the deployer wallet
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtCreate a .env file with your secrets (do not commit it):
OPENROUTER_API_KEY=replaceme
SOLANA_PRIVATE_KEY=replaceme(deployerwallet)
SOLANA_RPC_URL=https://api.mainnet-beta.solana.comUpdate these values before running:
TESTING(True = simulate, False = real on-chain spend)user_prompt(your name/symbol prompt)metadata_uri(must be an existingipfs://URI)token_context(what Claude should believe about the token)
python mainv2.pyThe script will prompt for confirmation before deployment.
- This repo is deploy-only and not the final codebase.
- You must supply an existing IPFS metadata URI.
- Use at your own risk; on-chain actions spend real SOL.