Comprehensive developer documentation for Saros Finance SDKs on Solana
Live Site: saros-docs.rectorspace.com
1st Place Winner - Saros SDK Guide Challenge (December 2024) - 300 USDC
This documentation site provides comprehensive guides, tutorials, and API references for all Saros Finance SDKs, built with Docusaurus 3.
# Clone repository
git clone https://github.com/rz1989s/saros-docs.git
cd saros-docs
# Install dependencies
npm install
# Start development server
npm start
# Open http://localhost:3000- Getting Started: SDK overview, installation, and quick start guides
- TypeScript SDK: Complete guide for
@saros-finance/sdk - DLMM SDK: Concentrated liquidity with
@saros-finance/dlmm-sdk - Rust SDK: High-performance DLMM with
saros-dlmm-sdk-rs - Tutorials: Step-by-step guides for building DeFi applications
- Examples: 6 complete, working code examples with tests
- Tools: Interactive API explorer for testing SDK methods
- Interactive API Explorer: Test Saros SDK methods directly in browser
- Comprehensive Examples: Working code for swaps, LP management, arbitrage, etc.
- Multi-SDK Support: Coverage of TypeScript, DLMM, and Rust SDKs
- Search Functionality: Powered by Algolia DocSearch
- Responsive Design: Mobile-friendly documentation
- Dark Mode: Full dark theme support
- Performance Optimized: Fast loading and excellent SEO
- Node.js 18+
- npm or yarn
- Git
# Start development with hot reload
npm run dev
# Build for production
npm run build
# Test production build locally
npm run serve:build
# Type checking
npm run typecheck
# Linting and formatting
npm run lint:fix
npm run format
# Check for broken links
npm run test:linksThe site automatically deploys via GitHub Actions on every push to main:
- Vercel: Primary deployment target
- GitHub Pages: Fallback deployment
- Performance Testing: Lighthouse CI integration
npm run deploy:vercelnpm run deploy:netlifynpm run deploy:github# Build and run production container
npm run docker:build
npm run docker:run
# Or use docker-compose
docker-compose --profile prod up -dThe site supports Algolia DocSearch. See SETUP.md for configuration instructions.
- 💬 Developer Support: Telegram
- 🐛 Bug Reports: GitHub Issues
- 🔗 Saros Finance: saros.xyz
Built with ❤️ by the Saros Finance team and community contributors.