Inspiration

The inspiration for VidSocial comes from recent events in India that involved concerted efforts by the government to impose digital censorship and also the prevalence of fake news and misinformation. While from the perspective of the government and the perspective of the content creator respectively, both look correct and hence there was a need to strike a balance. This lead to a solution we now know as VidSocial. Another part of VidSocial, is the use of short form videos. The recent trends of adoption of videos further motivated me to use videos as the medium of communication to achieve this balance. Examples of such adoption can be seen by Twitter, Instagram and of course TikTok (based on video).

What it does

VidSocial gives users the ability to start video based discussions on pressing social issues and political challenges. By creating short form video (upto 60 seconds video duration), the platform is able to provide engaging and informative content to users. Users can watch the content in their specially curated feed and they can perform one of the two actions: like or reshare the video. We are not big believers of disliking content and hence we chose to remove that functionality from VidSocial. Each of the above mentioned actions have a meaning like resharing the video gives creators voice and is a show of support for the specific issue, the video addresses. If the creator/poster of a video gets some amount of engagement like 5 likes or 10 likes then they are able to mint an NFT of that video as an accomplishment of the quality content they posted. It also gives users incentive to keep sharing such content with the community.

How we built it

We have built VidSocial using the following technologies:

  • React.js: We used React.js for the frontend of our application. React was an obvious choice since it is fast and has a low learning curve, plus it has great resources and documentation for getting started. Also, there were a lot of packages and modules regarding Ethereum and Web3 like web3.js and ethers.js, which gave us confidence and support while building our dApp.

  • Solidity: Solidity was necessary in order to build a dApp in the first place, since it is the language for building smart contracts and it has good enough resources for getting started. As most of our teammates has no prior experience in Solidity, this Hackathon gave us an opportunity in learning Solidity and building smart contracts for the Hedera blockchain.

  • Hardhat: Hardhat, like Solidity was necessary. Though there are alternatives to Hardhat like Truffle, we chose to use Hardhat since most resources regarding Hedera Smart Contract Service were based on Hardhat as the smart contract management tool.

  • IPFS: IPFS (Interplanetary file system) was our media storage solutions. Being decentralized, IPFS was exactly what we needed as a storage solution. On top of that, using IPFS was a breeze, and of course it cost us nothing to store videos on IPFS.

  • Chart.js: In the stats page of VidSocial application, we displayed interactive graphs of the statistics showcasing the engagement the user received on their content. This was done very easily using Chart.js, a very popular library for creating graphs and charts with JavaScript.

  • Hedera Token Service: For the NFT minting feature we chose to use the Hedera Token Service which allowed us to mint NFTs with just a few lines of code and minimal setup. It also went great with the Hedera Smart Contract Service since both of them were extremely interoperable and the NFTs were also accessible from Hashgraph.

Challenges we ran into

While building we ran into several challenges like integrating with Hashgraph and signing the transactions. When we were deploying the smart contracts on Hedera Smart Contract Service, we made small yet insignificant mistakes, which required us to compile and deploy the smart contracts again and again. Such mistakes were frustrating and reduced our confidence while building the project. But after determination and hard work we were able to pull through and build out the entire application with no errors or major bugs.

Accomplishments that we're proud of

We are proud of the fact that we were able to create an entire dApp within 10 days on the Hedera Smart Contract Service, a platform we had no experience in, plus most of our teammates had little to no experience in Solidity so it was also a great learning experience along with a great accomplishment. We are specifically proud of building a dApp on the Hedera blockchain since we first built it on Ethereum then migrated the entire dApp to Hedera Smart Contract Service in just 3 days.

What we learned

During this hackathon, we learnt several new technologies and frameworks like Hardhat for smart contract management and Hedera Smart Contract Service for deploying smart contracts. Along with that many of our teammates were able to properly learn Solidity and build smart contracts for Hedera blockchain using Solidity, and none of our teammates knew anything about making NFTs or tokens, so it was a nice experience learning how to make NFTs with the Hedera Token Service.

What's next for VidSocial

In the future, we would like to add many more features like commenting and flagging videos, to create a community-based moderation system for inappropriate content. Furthermore, we would like to add statistics to display likes, comments and more.

Built With

Share this project:

Updates