Skip to content

Praashh/ViewChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ViewChain

A decentralized platform for content creators to verify, track, and monetize their digital content with blockchain-powered view verification.

🚀 Problem Statement

Content creators face significant challenges in today's digital landscape:

  • Lack of verifiable proof for content viewership metrics
  • Difficulty monetizing content beyond traditional platforms
  • Limited ownership and control over their digital assets
  • Insufficient transparency in audience engagement analytics
  • Vulnerability to fraud and view manipulation

💡 Solution

ViewChain provides a comprehensive solution by combining blockchain technology with zero-knowledge proofs:

  • Verifiable Viewership: Zero-knowledge proof verification for authentic content views
  • Digital Asset Ownership: Creator-owned digital content with blockchain provenance
  • Transparent Analytics: Immutable viewership data for creators and audiences
  • Web3 Integration: Direct blockchain engagement for creators and fans

🏗️ Architecture

ViewChain is built on a modern, scalable architecture using Turborepo for monorepo management:

Client Application (Next.js)

  • React-based frontend with App Router
  • Web3 wallet integration (Solana)
  • Interactive UI with drag-and-drop capabilities
  • Responsive design with Tailwind CSS

Server Application (Node.js/Express)

  • RESTful API endpoints
  • Zero-knowledge proof generation and verification
  • CORS-enabled for cross-origin requests

Database (PostgreSQL/Prisma)

  • Relational data model for users, assets, and views
  • Comprehensive schema for digital asset management
  • View tracking with fingerprinting
  • Proof storage and verification

Blockchain Integration

  • Solana wallet adapter
  • Underdog NFT integration
  • Web3.js for blockchain interactions
  • Secure wallet connection

📁 Project Structure

ViewChain/
├── apps/
│   ├── client/                  # Next.js frontend application
│   │   ├── app/                # Next.js App Router
│   │   ├── components/         # UI components
│   │   ├── actions/            # Server actions
│   │   └── hooks/              # React hooks
│   └── server/                  # Express backend application
│       ├── src/                # Server source code
│       ├── controllers/        # Request handlers
│       ├── routes/             # API routes
│       └── services/           # Business logic
├── packages/
│   ├── db/                      # Shared database package
│   │   ├── prisma/             # Prisma ORM schema and migrations
│   │   └── src/                # Database client
│   ├── ui/                      # Shared UI components
│   ├── eslint-config/           # Shared ESLint configurations
│   └── typescript-config/       # Shared TypeScript configurations
└── turbo.json                   # Turborepo configuration

🔧 Technologies

Frontend

  • Next.js 15.3.0
  • React 19
  • TypeScript
  • Tailwind CSS
  • Radix UI
  • Framer Motion
  • DND Kit

Backend

  • Node.js
  • Express
  • TypeScript
  • Reclaim Protocol
  • Zero-knowledge proofs

Database

  • PostgreSQL
  • Prisma ORM

Web3

  • Solana Web3.js
  • Wallet adapters
  • Underdog NFT platform

DevOps

  • Turborepo
  • pnpm package manager
  • ESLint
  • TypeScript

✨ Key Features

For Content Creators

  • Create and manage digital asset collections
  • Track verified viewership with zero-knowledge proofs
  • Generate analytics dashboards for content performance
  • Monetize content through blockchain technologies

For Audiences

  • Verifiably authenticate content views
  • Engage with creators through blockchain technology
  • Access exclusive creator content

Technical Features

  • Zero-knowledge proof verification
  • Blockchain asset management
  • Fingerprinted view tracking
  • Cross-platform compatibility

🛠️ Development Workflow

ViewChain uses Turborepo to manage the development workflow:

# Install dependencies
pnpm install

# Run development server
pnpm dev

# Build for production
pnpm build

# Database operations
pnpm db:generate  # Generate Prisma client
pnpm db:migrate   # Run database migrations
pnpm db:deploy    # Deploy migrations to production

🔐 Security Features

  • Zero-knowledge proof verification
  • Secure wallet connections
  • Environment variable protection
  • CORS security
  • User fingerprinting

🌐 Use Cases

  • Content Creators: Verify audience engagement, monetize content directly
  • Media Companies: Track content performance with verifiable metrics
  • Marketers: Access authentic engagement analytics
  • Audiences: Support creators directly, access exclusive content

🏆 WON 100xdevs Solana Hackathon 2.0

https://x.com/100xDevs/status/1934240746334470277

About

A platform for provenance of digital assets using reclaim and underdog protocol

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages