███████╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗███████╗ ██╔════╝ ██║ ██╔══██╗ ██╔══██╗██╔═══██╗██╔════╝██╔════╝ ███████╗ ██║ ██████╔╝ ██║ ██║██║ ██║██║ ███████╗ ╚════██║ ██║ ██╔═══╝ ██║ ██║██║ ██║██║ ╚════██║ ███████║ ██║ ██║ ██████╔╝╚██████╔╝╚██████╗███████║ ╚══════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═════╝╚══════╝
Privacy is not a feature. It's a right.
Official documentation for SIP Protocol — the privacy standard for Web3
Getting started • SDK reference • Concepts • Cookbook • Security • Specifications
🏆 Winner — Zypherpunk Hackathon ($6,500: NEAR $4,000 + Tachyon $500 + pumpfun $2,000) | #9 of 93 | 3 Tracks
Live: docs.sip-protocol.org
- What is SIP Docs?
- Documentation Sections
- Quick Start
- Architecture
- Tech Stack
- Features
- Development
- API Documentation
- Deployment
- Related Projects
- License
SIP Docs is the official documentation for SIP Protocol — the privacy standard for Web3. Built with Astro Starlight for a modern, searchable documentation experience.
docs.sip-protocol.org → "How to use SIP" (technical reference)
blog.sip-protocol.org → "Why privacy matters" (thought leadership)
Complete coverage: Getting started, SDK reference, concepts, cookbook, security, and specifications.
| Page | Description |
|---|---|
| Introduction | What is SIP Protocol? |
| Getting Started | Quick installation & first steps |
| Architecture | System design overview |
| Concept | Description |
|---|---|
| Privacy Levels | Transparent, Shielded, Compliant |
| Stealth Addresses | DKSAP & EIP-5564 |
| Viewing Keys | Selective disclosure |
| Pedersen Commitments | Amount hiding |
10 practical examples for common use cases:
| Recipe | Description |
|---|---|
| Basic Swap | Simple private swap |
| Stealth Payment | Send to stealth address |
| Batch Transfers | Multiple recipients |
| Compliance Flow | Viewing key disclosure |
| Custom Privacy | Advanced configurations |
| Spec | Description |
|---|---|
| Funding Proof | Balance verification ZK circuit |
| Validity Proof | Intent authorization ZK circuit |
| Fulfillment Proof | Swap execution ZK circuit |
| Integration | Description |
|---|---|
| NEAR Intents | Cross-chain settlement |
| Zcash | Shielded pool backend |
| Solana | Same-chain privacy |
| Page | Description |
|---|---|
| Threat Model | Security assumptions |
| Security Properties | Guarantees provided |
| Audit Preparation | Audit readiness |
| Resource | Description |
|---|---|
| Whitepaper | Technical whitepaper |
| Roadmap | Development milestones |
| FAQ | Common questions |
| Glossary | Term definitions |
| Changelog | Version history |
- Node.js 18+
- npm
# Clone the repository
git clone https://github.com/sip-protocol/docs-sip.git
cd docs-sip
# Install dependencies
npm install
# Start development server
npm run dev
# Open http://localhost:4321docs-sip/
├── src/
│ ├── content/
│ │ └── docs/ # Documentation pages (MDX)
│ │ ├── index.mdx # Home page
│ │ ├── introduction.md # What is SIP?
│ │ ├── getting-started.md
│ │ ├── architecture.md
│ │ │
│ │ ├── concepts/ # Core concepts
│ │ │ ├── privacy-levels.md
│ │ │ ├── stealth-addresses.md
│ │ │ └── viewing-keys.md
│ │ │
│ │ ├── cookbook/ # 10 practical examples
│ │ │ ├── basic-swap.md
│ │ │ ├── stealth-payment.md
│ │ │ └── ...
│ │ │
│ │ ├── sdk-api/ # SDK reference
│ │ ├── specs/ # ZK proof specifications
│ │ ├── guides/ # How-to guides
│ │ ├── integrations/ # NEAR, Zcash, Solana
│ │ ├── security/ # Security documentation
│ │ │
│ │ ├── whitepaper.md
│ │ ├── roadmap.md
│ │ ├── faq.md
│ │ ├── glossary.md
│ │ └── changelog.md
│ │
│ ├── assets/ # Images, diagrams
│ ├── components/ # Custom Astro components
│ └── styles/ # Custom CSS
│
├── scripts/
│ └── generate-api-docs.mjs # TypeDoc API generation
│
├── public/ # Static assets
├── astro.config.mjs # Astro + Starlight config
└── typedoc.json # TypeDoc configuration
MDX/MD Files → Starlight → Astro Build → Static HTML
│ │ │
│ ▼ │
│ Auto-sidebar from │
│ file structure │
│ │ │
└────────────┴────────────┘
| Category | Technology | Purpose |
|---|---|---|
| Framework | Astro 5 | Static site generator |
| Docs Theme | Starlight | Documentation framework |
| Content | MDX | Markdown + components |
| API Docs | TypeDoc | Auto-generated from SDK |
| Diagrams | Mermaid | Architecture diagrams |
| Images | Sharp | Image optimization |
| Search | Pagefind | Built-in search |
- Starlight theme with dark/light mode
- Auto-generated sidebar from file structure
- Built-in search (Pagefind)
- Mobile responsive design
- i18n ready for translations
- API reference auto-generated from SDK JSDoc
- Code examples with syntax highlighting
- Copy to clipboard for code blocks
- Mermaid diagrams for architecture
- Clean, readable typography
- Consistent navigation structure
- Breadcrumbs for orientation
- Table of contents per page
npm run dev # Start dev server (localhost:4321)
npm run build # Build for production
npm run preview # Preview production build
npm run docs:api # Generate API docs from SDK
npm run docs:api:clean # Clean and regenerate API docs- Create MDX file in appropriate section:
touch src/content/docs/guides/my-guide.md- Add frontmatter:
---
title: 'My Guide'
description: 'Guide description for SEO'
---- Write content with Markdown + components:
# My Guide
Introduction text...
## Section 1
Content with code examples:
```typescript
import { SIP } from '@sip-protocol/sdk'
const sip = new SIP({ network: 'mainnet' }):::note This is a callout note. :::
4. Preview locally:
```bash
npm run dev
API reference is auto-generated from SDK source using TypeDoc:
# Generate API docs
npm run docs:api
# Clean and regenerate
npm run docs:api:clean// typedoc.json
{
"entryPoints": ["node_modules/@sip-protocol/sdk/src/index.ts"],
"out": "src/content/docs/reference",
"plugin": ["typedoc-plugin-markdown"]
}# Build Docker image
docker build -t docs-sip .
# Run locally
docker run -p 4321:80 docs-sip| Service | Port | Domain |
|---|---|---|
| docs-sip | 5003 | docs.sip-protocol.org |
# docker-compose.yml (on VPS)
name: sip-docs
services:
docs:
image: ghcr.io/sip-protocol/docs-sip:latest
container_name: sip-docs
ports:
- "5003:80"
restart: unless-stoppedPush to main → GitHub Actions → Generate API Docs → Build Astro → Docker → GHCR → Deploy
| Project | Description | Link |
|---|---|---|
| sip-protocol | Core SDK (source for API docs) | GitHub |
| blog-sip | Technical blog (complements docs) | blog.sip-protocol.org |
| sip-app | Privacy application | app.sip-protocol.org |
| sip-website | Marketing website | sip-protocol.org |
MIT License — see LICENSE file for details.
🏆 Zypherpunk Hackathon Winner ($6,500) | #9 of 93 | 3 Tracks
Privacy is not a feature. It's a right.
Read the Docs · SDK Reference · Contribute
Built with Starlight by the SIP Protocol team.
Part of the SIP Protocol ecosystem