Inspiration
Recently there was a case that a group chat (of snapchat) was compromised. The company used to claim that the chats were end-to-end encrypted but still got leaked. Though the authority responsible for this was a government authority but still the chat being compromised is an issue to look into. The authorities added that they captured a packet that had suspicious content and hence they decided to intervene. Thats when I got the idea to have such an application in which the communication is secure no matter the cost.
What it does
ChainChat, It is a blockchain based messaging app that basically utilizes the mechanism of blockchain to handle the data and establish a un-hackable end-to-end communication channel.
How we built it
First of all I wrote a basic smart-contract in Solidity that enables sending and receiving of messages along with some basic information like time and date. The smart contract is deployed on a local blockchain testing environment Ganache. On utilizing the send function, an event is triggered. The event is tracked with the help of basic html script that displays the content on the end user.
Challenges we ran into
At first I wanted to deploy the smart contract to a test-net. But due to some incompatibility, I had to redeploy it on ganache and debug it further.
Accomplishments that we're proud of
After debugging it successfully, I decided to let it stay hosted on Ganache. I was full of tears when the message showed up ^^
What we learned
I learned many things but the most important one was to track the event and connect it with the backend.
What's next for ChainChat
I want to optimize it further and work with STARKnet of course. And so, am deciding to learn Cairo. But as the project is still not complete entirely I want to work on it further and then will make the code public.
Log in or sign up for Devpost to join the conversation.