Skip to content

SpiderNitt/contenthub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ₯ ContentHub

A decentralized, premium content marketplace on Base Sepolia.

Creators monetize video content directly through smart contracts, offering Rentals (24h access) and Lifetime Access. Content is stored on IPFS (Lighthouse/Walrus) and payments are handled in ETH/USDC.

πŸ“ Project Structure

contenthub/
β”œβ”€β”€ contracts/      # Foundry smart contracts
β”‚   β”œβ”€β”€ src/        # Solidity source files
β”‚   β”œβ”€β”€ test/       # Contract tests
β”‚   └── script/     # Deployment scripts
└── frontend/       # Next.js 15 application
    β”œβ”€β”€ src/app/    # App router pages
    β”œβ”€β”€ src/components/
    └── src/hooks/

✨ Features

For Consumers

  • Crypto Payments: Pay with ETH or USDC on Base Sepolia
  • Flexible Access: Rent (24h) or Buy (lifetime)
  • My Library: Dashboard for rentals and purchases
  • Wallet Auth: Secure login via Privy

For Creators

  • Direct Monetization: 100% revenue to your wallet
  • On-Chain Ownership: Catalog registered on blockchain
  • Decentralized Storage: IPFS via Lighthouse/Walrus

πŸ› οΈ Tech Stack

Layer Technology
Frontend Next.js 15, Tailwind CSS v4, Framer Motion
Contracts Foundry, Solidity ^0.8.30
Auth Privy
Storage Lighthouse (IPFS)
Network Base Sepolia

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • Foundry (curl -L https://foundry.paradigm.xyz | bash)
  • Web3 Wallet with Base Sepolia ETH

Contracts

cd contracts
forge install
forge test

Frontend

cd frontend
npm install
npm run dev

Open http://localhost:3000

⛓️ Deployed Contracts

Contract Address (Base Sepolia)
CreatorHub 0xc567c6112720d8190caa4e93086cd36e2ae01d37
USDC (Testnet) 0x036CbD53842c5426634e7929541eC2318f3dCF7e

πŸ“„ License

MIT

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •