Documentation
Complete guide to using SolanaForge for testing, simulation, and security analysis of Solana programs.
Getting Started
// Clone the repository
git clone https://github.com/Ekpemark/SolanaForge.git
cd SolanaForge
// Install dependencies (frontend + backend)
cd frontend && npm install
cd ../packages/api && npm install
// Start development servers
cd ../frontend && npm run dev
cd ../packages/api && npm run dev
// Or with Docker
cd docker
docker-compose up -d
API Endpoints
Environment Management
POST /api/environment/start-validator
GET /api/environment/status
POST /api/environment/stop-validator
GET /api/environment/wallets
POST /api/environment/wallets/create
POST /api/environment/import-anchorTransaction Simulator
POST /api/simulator/simulate
POST /api/simulator/fee-estimate
POST /api/simulator/account-changes
POST /api/simulator/decode-instructionsDebug Dashboard
GET /api/debug/stats
GET /api/debug/transaction/:signature
GET /api/debug/account/:pubkey
GET /api/debug/logs/:signatureSecurity Testing
POST /api/security/analyze
POST /api/security/validate-pda
POST /api/security/validate-ownershipAI Assistant
POST /api/ai/explain-error
POST /api/ai/explain-logsConfiguration
# Environment variables
PORT=3000
OPENAI_API_KEY=your-api-key-here
DB_HOST=localhost
DB_PORT=5432
DB_NAME=solanaforge
DEFAULT_RPC_URL=http://localhost:8899Docker Deployment
cd docker
docker-compose up -d
# Services:
# - API: http://localhost:3000
# - Frontend: http://localhost:3001
# - PostgreSQL: localhost:5432
# - Rust Analyzer: http://localhost:3002