Skip to content

Web3Tube is a social media platform built on top of Polygon network and The Graph, that allows users to create, share and watch videos, without worrying about their privacy.

Notifications You must be signed in to change notification settings

rithindattag/Web3Tube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

About The Project

Web3Tube is a social media platform built on top of Polygon network and The Graph, that allows users to create, share and watch videos, without worrying about their privacy.

Built With

  • Frontend framework: Next.js
  • Smart contracts: Solidity
  • Ethereum web client library: Ethers.js
  • File storage: IPFS
  • Querying data: The Graph
  • CSS Framework: TailwindCSS
  • Ethereum development environment: Hardhat
  • Layer 2 blockchain: Polygon
  • Video Infrastructure: Livepeer

Getting Started

To get this application up and and running on your local machine follow these simple steps.

Prerequisites

You need to have Node.js, NPM and hardhat installed on your computer, before running this project.

Installation

  1. Clone the repo

    git clone https://github.com/suhailkakar/Decentralized-YouTube
  2. Install NPM packages

    npm install

    or

    yarn install
  3. Create an .env file and get an API key from Livepeer studio, Web3 Storage and Imagekit.

    PRIVATE_KEY=""
    NEXT_PUBLIC_LIVEPEER_KEY=""
    NEXT_PUBLIC_WEB3_STORAGE_KEY=
    NEXT_PUBLIC_IMAGEKIT_ID=""
  4. Compile the smart contract

    npx hardhat compile
  5. Deploy the smart contract

  6. Get your contract address and paste in on constants/index.ts

  7. Deploy subgraph in indexer directory by following steps in indexer/README.md (optional, since it is already deployed in hosted service)

  8. Get subgraph query endpoint after deployment and update it in constants/index.t

  9. Run the app

    npm start

About

Web3Tube is a social media platform built on top of Polygon network and The Graph, that allows users to create, share and watch videos, without worrying about their privacy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published