ββββββββ βββ βββββββ βββββββ βββββββ βββββββββββββββ ββββββββ βββ ββββββββ βββββββββββββββββββββββββββββββββ ββββββββ βββ ββββββββ βββ ββββββ ββββββ ββββββββ ββββββββ βββ βββββββ βββ ββββββ ββββββ ββββββββ ββββββββ βββ βββ βββββββββββββββββββββββββββββββββ ββββββββ βββ βββ βββββββ βββββββ βββββββββββββββ
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