Alchemy: Decentralized Youtube
Learn how to create your own personal Decentralized Youtube using IPFS and the Filebase IPFS gateway.
Last updated
Learn how to create your own personal Decentralized Youtube using IPFS and the Filebase IPFS gateway.
Last updated
Decentralized Youtube is a GitHub project created by the user suhailkakar. Decentralized Youtube is a video hosting and streaming service, just like Youtube, but powered by decentralized storage.
This tutorial uses the GitHub project created by suhailkakar, but edited to use the Filebase IPFS gateway for serving the content.
Read below to learn how to set up your own personal Decentralized Youtube.
Take note of the HTTP URL, we’ll reference this later.
This guide uses MetaMask.
This project was originally created by @suhailkakar on GitHub. We’ve made modifications to it to use IPFS through Filebase for the storage backend.
git clone https://github.com/jamongeon/Decentralized-YouTube.git
hardhat.config.js
file to replace the following values:ALCHEMY_APP_URL: Alchemy App HTTP URL
METAMASK_WALLET_PRIVATE_KEY: MetaMask Private Key
npx hardhat compile
npx hardhat run scripts/deploy.js --network mumbai
./src/utils/getContract.js
file.Replace the YOUR_CONTRACT_ADDRESS
value with the contract address you took note of in the previous step.
npm start
localhost:3000
by default.Then upload a thumbnail image for the video.
Once selected, choose the blue upload button to begin the upload process.
You now have your own decentralized version of Youtube!