This is a decentralized youtube
You can upload and watch descentralized videos!
Website: https://0xyoutube.vercel.app/
Obs: We are using mumbai testnet on this project.
This project was 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
Front-end
-
npm install
-
Create an
.env
file following .env.example -
npm run dev
-
Compile the smart contract
npx hardhat compile
- Deploy the contract
npx hardhat run scripts/deploy.js --network mumbai
- Add your contract address in constants
Obs: If you want to deploy your own subgraph fell free, but I have already deployed one.