π Winner β Zypherpunk Hackathon NEAR Track ($4,000)
Official documentation for SIP Protocol - the privacy layer for cross-chain transactions via NEAR Intents + Zcash.
Live Site: docs.sip-protocol.org
SIP (Shielded Intents Protocol) is the privacy standard for Web3 - like HTTPS for the internet. One toggle to shield sender, amount, and recipient using stealth addresses, Pedersen commitments, and viewing keys for compliance.
- Astro - Modern static site generator
- Starlight - Documentation framework built on Astro
- TypeDoc - API documentation generator
- Mermaid - Diagram generation
- TypeScript - Type-safe development
- Node.js 18.0.0 or higher
- npm or pnpm package manager
# Clone the repository
git clone https://github.com/sip-protocol/docs-sip.git
cd docs-sip
# Install dependencies
npm install# Start local development server at http://localhost:4321
npm run dev# Build production site to ./dist/
npm run build
# Preview production build locally
npm run preview# Generate API reference docs from SDK
npm run docs:api
# Clean and regenerate API docs
npm run docs:api:cleandocs-sip/
βββ public/ # Static assets (favicons, images)
βββ src/
β βββ assets/ # Images and logos
β βββ components/ # Custom Astro components
β βββ content/
β β βββ docs/ # Documentation content (MDX/MD)
β β βββ cookbook/ # SDK usage examples
β β βββ concepts/ # Core concepts
β β βββ guides/ # Integration guides
β β βββ integrations/ # Platform integrations
β β βββ reference/ # Auto-generated API docs
β β βββ security/ # Security documentation
β β βββ specs/ # Technical specifications
β βββ styles/ # Custom CSS
β βββ content.config.ts # Content collections config
βββ scripts/ # Build scripts
β βββ generate-api-docs.mjs # TypeDoc generation
βββ astro.config.mjs # Astro configuration
βββ typedoc.json # TypeDoc configuration
βββ package.json # Dependencies and scripts
Our documentation is organized into several sections:
- Getting Started - Introduction, quick start, architecture
- Guides - Solver integration, API migration
- SDK Cookbook - 10 practical code examples
- Concepts - Privacy levels, stealth addresses, viewing keys
- Specifications - Technical specs and ZK proofs
- Integrations - NEAR Intents, Zcash
- Security - Threat model, security properties, audit prep
- Resources - Roadmap, whitepaper, FAQ, glossary, changelog
- API Reference - Auto-generated from SDK source code
The documentation site is automatically deployed via GitHub Actions:
- Push to
mainbranch - GitHub Actions builds Docker image
- Image pushed to GitHub Container Registry (GHCR)
- VPS pulls and deploys via Docker Compose
- Live at docs.sip-protocol.org
# Build Docker image
docker build -t sip-docs .
# Run container
docker run -p 5003:5003 sip-docsWe welcome contributions! Please see CONTRIBUTING.md for guidelines.
- sip-protocol/sip-protocol - Core SDK
- sip-protocol/sip-website - Demo app & website
- sip-protocol/circuits - Noir ZK circuits
- sip-protocol/.github - Org configs
This project is licensed under the MIT License.
- Documentation: docs.sip-protocol.org
- Website: sip-protocol.org
- GitHub: github.com/sip-protocol
- Twitter: @rz1989sol
Built with Starlight by the SIP Protocol team.