📘 SourceNet Documentation
Welcome to the comprehensive documentation for SourceNet - a decentralized data marketplace built on the SUI blockchain with Walrus Protocol for secure, decentralized data storage.
🚀 Quick Start
This documentation covers the complete architecture, technical flows, and implementation details of the SourceNet platform. Use the sidebar to navigate through different sections.
What is SourceNet?
SourceNet is a decentralized data marketplace that enables data sellers to monetize their datasets and buyers to securely purchase and access data through blockchain-powered escrow and encryption. The platform leverages cutting-edge technologies to ensure security, privacy, and transparency.
Key Features
🔐 zkLogin Authentication
Privacy-preserving authentication using Zero-Knowledge proofs and Google OAuth integration. Users can authenticate without revealing their private keys while maintaining full control over their blockchain identities.
🐋 Walrus Protocol Integration
Decentralized, immutable data storage built for the SUI ecosystem. Data is encrypted, split into erasure-coded chunks, and distributed across multiple nodes for high availability and security.
⛓️ SUI Blockchain
Smart contracts written in Move language handle escrow, purchases, and ownership verification on-chain. All transactions are transparent and verifiable on the blockchain.
💰 Secure Escrow System
Buyer funds are held in smart contract escrow until the seller fulfills the data delivery. This ensures trust and fairness in all transactions.
🔒 End-to-End Encryption
Data is encrypted at rest and in transit. Each purchase creates a unique encrypted copy for the buyer, ensuring data privacy and security.
Tech Stack Overview
| Layer | Technologies | Purpose |
|---|---|---|
| Frontend | Next.js 14, TypeScript, Zustand | User interface and state management |
| Backend | Express.js, PostgreSQL, Redis | API server, database, caching |
| Blockchain | SUI Move, zkLogin | Smart contracts and authentication |
| Storage | Walrus Protocol | Decentralized file storage |
| AI | OpenAI (via OpenRouter) | Conversational assistance |
Quick Navigation
🏗️ Architecture
Understand the system design and component interactions
🔐 Authentication
Learn about zkLogin and identity management
📤 Seller Flow
How to upload and publish datasets
🛒 Buyer Flow
How to purchase and download data
⛓️ Smart Contracts
Explore the Move contracts powering the marketplace
📡 API Reference
Complete API endpoint documentation
💡 Getting Started
New to SourceNet? Start with the Architecture section to understand the system design, then explore the Authentication flow to learn how zkLogin works.