Development Guide
Last updated
Last updated
Project Setup
Clone the Repository:bash
Install Dependencies:bash
Set Up Environment Variables:bash
Development Workflow
Start the Server:bash
Run the CLI:bash
Run Tests:bash
Best Practices
Modular Design: Follow the modular architecture for maintainability.
Testing: Write tests for all new functionality.
Documentation: Document APIs and provide usage examples.
Error Handling: Implement robust error handling and validation.
Logging: Use structured logging for debugging and monitoring.
Troubleshooting
Server Fails to Start: Ensure port 8052 is free and dependencies are installed (npm install).
Connection Errors: Verify the server is running (curl http://localhost:8052/health).
Solana RPC Errors: Check your SOLANA_RPC_URL in .env and ensure it's valid.
Python Wrapper Issues: Ensure the server is running and the package is installed correctly (pip install -e .).