A decentralized data ecosystem where individuals own their information, organizations operate with consent, and every exchange is verified on-chain.
πΉ Watch Demo Video | Built for the Polkadot Cloud Hackathon 2025
Traditional data relationships are broken:
- Companies own customer data forever β customers have zero control
- Same data duplicated across multiple companies
- No incentive for customers to share accurate information
- Privacy breaches expose customer data regularly
- No cryptographic proof of consent or permissions
Continuum is a three-product ecosystem built on Polkadot that flips the data ownership model:
Your data, your power. See what you share, control who accesses it, and earn when your data creates value.
The enterprise platform for verified consent-based customer data. Compliance by design.
Where data meets integrity. Decentralized verification and recording of every data exchange on Polkadot.
- β Personal Dashboard - See all your data in one place
- β Data Vault - Encrypted storage for personal information
- β Access Requests - Review and approve/reject requests from organizations
- β Active Access Control - See who has access and revoke anytime
- β Earnings Tracker - Track DOT payments for data sharing
- β Privacy Settings - Granular control over data preferences
- β Contact Management - Full CRM with search and filtering
- β Deal Pipeline - Kanban board with drag & drop
- β Activity Tracking - Log calls, meetings, emails, notes
- β Task Management - Assign and track follow-ups
- β Real-time Dashboard - Live metrics and analytics
- β Data Access Requests - Request customer data with payment offers
- β Smart Contracts - ink! v5.0 contract for access control
- β Payment Escrow - DOT token payments held until approval
- β Time-Limited Access - Automatic expiration of permissions
- β Blockchain Explorer - View on-chain transactions and contracts
- β Developer Docs - Complete API and SDK documentation
- β API Key Management - Secure integration credentials
- β Contract Playground - Test smart contract interactions
- β Row Level Security - Multi-tenant data isolation in Supabase
- β Authentication - Secure login/signup with password reset
- β E2E Testing - Playwright test suite for all flows
- β Type Safety - Full TypeScript coverage across the stack
Frontend
- Next.js 15 with App Router
- React 19
- TypeScript
- Tailwind CSS v4
- shadcn/ui + Radix UI
- Tremor Charts
- @dnd-kit (drag & drop)
Backend
- Supabase (PostgreSQL)
- Row Level Security (RLS)
- Real-time subscriptions
- Supabase Auth
Blockchain
- Polkadot
- ink! v5.0 Smart Contracts
- @polkadot/api
- @polkadot/extension-dapp
- Substrate Contracts Node
Testing & DevTools
- Playwright (E2E testing)
- ESLint
- Turbopack
- Node.js 18+
- Polkadot{.js} browser extension (Install)
- Supabase account (Sign up)
- Rust & cargo-contract (optional, for contract deployment)
git clone https://github.com/yourusername/continuum.git
cd continuum
npm installcp .env.example .env.localEdit .env.local:
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
# Polkadot Configuration
NEXT_PUBLIC_POLKADOT_NETWORK=westend
NEXT_PUBLIC_CONTRACT_ADDRESS=your_contract_address
# App Configuration
NEXT_PUBLIC_APP_URL=http://localhost:3000See SUPABASE_SETUP.md for detailed instructions.
Quick version:
- Create a Supabase project
- Copy your API credentials
- Run migrations from
supabase/migrations/in Supabase SQL Editor - Update
.env.localwith your credentials
npm run devSee contracts/data_access/README.md and contracts/DEPLOYMENT.md for deployment instructions.
Quick build:
cd contracts/data_access
cargo install cargo-contract --force
cargo contract build --release
cargo testβββββββββββββββ ββββββββββββββββ βββββββββββββββ
β Myn β β Ethos β β Continuum β
β (Customer) β βββββββΊ β (Business) β βββββββΊ β (Blockchain)β
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β² β² β²
β β β
Own data Request access Verify & record
- Users connect their data sources to the Myn app
- Everything stays encrypted and under their control
- They set privacy preferences and decide who can request access
- Brands use the Ethos CRM to submit data access requests
- They specify which fields they need, for how long, and offer fair compensation in DOT tokens
- Payment is escrowed in the smart contract
- Every approval, rejection, and revocation is recorded on Polkadot
- Cryptographic proof of consent
- Smart contracts enforce time limits and handle payments automatically
- User receives notification in Myn
- Reviews request details
- Approves β receives DOT payment instantly
- Rejects β business gets refund
- Can revoke access anytime
continuum/
βββ app/ # Next.js App Router
β βββ page.tsx # Main landing page
β βββ login/ # Authentication
β βββ signup/
β βββ forgot-password/
β βββ reset-password/
β βββ myn/ # Myn app (individuals)
β β βββ dashboard/
β β βββ vault/ # Data storage
β β βββ requests/ # Incoming access requests
β β βββ access/ # Active permissions
β β βββ earnings/ # Payment tracking
β β βββ settings/
β βββ ethos/ # Ethos app (businesses)
β β βββ dashboard/
β β βββ contacts/
β β βββ deals/
β β βββ activities/
β β βββ tasks/
β β βββ data-access/ # Request customer data
β βββ continuum/ # Continuum protocol
β βββ dashboard/
β βββ explorer/ # Blockchain explorer
β βββ contracts/ # Contract viewer
β βββ api-keys/
β βββ playground/
β βββ docs/
βββ components/ # React components
β βββ ui/ # shadcn/ui components
β βββ brand/ # Logo components
β βββ product-switcher.tsx
βββ contracts/ # ink! Smart Contracts
β βββ data_access/
β βββ lib.rs # Main contract code
β βββ Cargo.toml
β βββ README.md
β βββ target/ink/ # Build output
βββ lib/ # Utilities & API
β βββ api/ # Supabase API functions
β β βββ contacts.ts
β β βββ deals.ts
β β βββ activities.ts
β β βββ tasks.ts
β β βββ data-access-requests.ts
β β βββ vault.ts
β β βββ earnings.ts
β β βββ blockchain-explorer.ts
β β βββ api-keys.ts
β βββ polkadot/ # Polkadot integration
β β βββ contract.ts
β βββ supabase-client.ts
β βββ utils.ts
βββ supabase/ # Database
β βββ migrations/ # SQL migrations (16 files)
βββ tests/ # E2E tests
β βββ e2e/
β βββ auth.spec.ts
β βββ ethos-crm.spec.ts
β βββ myn-customer.spec.ts
β βββ continuum-blockchain.spec.ts
βββ docs/ # Documentation
β βββ brand/ # Brand guidelines
βββ SUPABASE_SETUP.md
βββ STYLE_GUIDE.md
βββ package.json
Continuum uses a custom design system inspired by Plural's brutalist aesthetic:
- Minimal - Remove everything that doesn't serve a purpose
- Technical - Embrace monospace, code blocks, and system fonts
- Trust-First - Visual design that reinforces cryptographic certainty
See STYLE_GUIDE.md for complete design documentation.
Key Features:
- Dark theme with subtle purple accents
- Light font weights (300) for large headings
- Glass morphism effects
- Grid background pattern
- Gradient animations for brand differentiation
- Payment Escrow: Funds locked until customer decision
- Time Limits: Access automatically expires
- Authorization Checks: Only customers can approve/reject their requests
- No Double Spending: Cannot approve the same request twice
- Automatic Refunds: Rejected requests refund the business
- Row Level Security (RLS): Users can only access their own data
- Multi-tenant Isolation: Complete data separation between users
- Authentication: Secure Supabase Auth with password hashing
- HTTPS Only: All production traffic encrypted
- On-Chain Audit: All consent actions recorded immutably
# Run all tests
npm run test:e2e
# Run tests in UI mode
npm run test:e2e:ui
# Run tests with browser visible
npm run test:e2e:headed
# Debug mode
npm run test:e2e:debugcd contracts/data_access
cargo testTest Coverage:
- β Authentication flows
- β Ethos CRM operations (contacts, deals, tasks, activities)
- β Myn customer workflows
- β Continuum blockchain integration
- β Smart contract functions (request, approve, reject, revoke, has_access)
- Supabase Setup Guide - Database configuration
- Style Guide - Design system documentation
- Smart Contract Docs - Contract API reference
- Deployment Guide - Contract deployment instructions
- Demo Guide - Walkthrough for demos
- Deep Polkadot Integration: ink! v5.0 smart contracts with payment escrow and time-limited access
- Production-Ready Contract: 100% test coverage with unit tests
- Type-Safe Codebase: Full TypeScript across frontend and backend
- Secure Authentication: Row Level Security + Supabase Auth
- Professional UI: Custom design system with glass morphism and subtle animations
- Three Distinct Brands: Myn (personal), Ethos (enterprise), Continuum (protocol)
- Intuitive UX: Familiar CRM patterns + seamless Web3 integration
- Responsive Design: Mobile-first approach
- Massive Market: CRM is an $80B industry
- Real Privacy Solution: Solves actual GDPR/CCPA compliance problems
- Win-Win Model: Benefits both businesses AND customers
- Novel Approach: First customer-owned CRM
- Three-Product Ecosystem: Comprehensive solution, not just a single app
- Customer Sovereignty: Revolutionary shift from extraction to exchange
- On-Chain Consent: Cryptographic proof of permissions
- Fair Value Exchange: Customers get paid for their data
- Deploy smart contract to Rococo Contracts testnet
- Full frontend integration with deployed contract
- Customer approval UI in Myn
- Real-time notifications for consent changes
- iOS and Android apps for Myn
- Email integration (Gmail, Outlook)
- Calendar sync
- Advanced analytics with ML insights
- Cross-chain support via XCM
- NFT-based reputation system
- IPFS/Crust for decentralized storage
- DAO governance for protocol parameters
- White-label CRM platform
- Public data marketplace
- Cross-platform identity (Web3 SSO)
- Developer SDK and API
This is a hackathon project, but contributions are welcome!
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
MIT License - See LICENSE for details
- Polkadot Foundation - For hosting the hackathon and building incredible infrastructure
- Web3 Foundation - For tools, resources, and ecosystem support
- Parity Technologies - For Substrate, ink!, and outstanding developer experience
- Supabase - For the amazing backend platform
- shadcn - For beautiful, accessible UI components
Built by a solo developer for Polkadot Cloud Hackathon 2025
- Product Design & Architecture
- Full-stack Development (Frontend, Backend, Smart Contracts)
- UI/UX Design & Design System
- Documentation & Testing
- Documentation: See
/docsfolder and linked guides above - Issues: GitHub Issues
- Demo Video: Watch on YouTube
# Development
npm run dev # Start dev server (http://localhost:3000)
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint
# Testing
npm run test:e2e # Run Playwright E2E tests
npm run test:e2e:ui # Run tests in UI mode
npm run test:report # Show test report
# Smart Contract
cd contracts/data_access
cargo contract build # Build contract
cargo test # Run contract testsBuilt for Polkadot Cloud Hackathon 2025
The trust layer for data exchange. Built on Polkadot.
πΉ Watch Demo Video β’ π Documentation β’ π GitHub
Ready to revolutionize data ownership? Let's build the future. π
