Alchemy: Decentralized Youtube
Learn how to create your own personal Decentralized Youtube using IPFS and the Filebase IPFS gateway.
What is Decentralized Youtube?
1. Start by logging into the Alchemy dashboard. From the dashboard, select ‘Create App’.

2. Create a new app on the Polygon Mumbai network.

3. Once the app is created, view the app’s API key.


4. Next, open your Crypto wallet and select the Polygon Testnet network.

5. Get your Crypto Wallet’s Private Key by viewing your account details:

6. Take note of your Private Key, we will use this later.
7. Next, git clone the Decentralized Youtube project repository.
8. Edit the hardhat.config.js file to replace the following values:
hardhat.config.js file to replace the following values:9. Then, compile the project:
10. Next, deploy the smart contract onto the Mumbai network:
11. Take note of the contract address that gets returned by the deploy script:
12. Edit the ./src/utils/getContract.js file.
./src/utils/getContract.js file.13. Run the app:
14. Your Decentralized Youtube will be open at localhost:3000 by default.
localhost:3000 by default.
15. Select ‘Connect your wallet to continue’, then select your desired Crypto Wallet address.
16. Once connected, you will see the Decentralized Youtube dashboard:

17. Select the plus sign icon to open the page for initiating a video upload.

18. Fill out the information about your video such as title, description, location, and category.

19. Then select ‘Upload Video’ to select a video to be uploaded.

20. You will be asked to confirm the transaction through your crypto wallet.

21. On the home screen, your video will be uploaded, showing the chosen thumbnail.

22. Click on the thumbnail to play the video.
PreviousAlchemy: Create Your Own ERC20 CryptocurrencyNextAlchemy: How to Create and Mint an NFT using Filebase
Last updated