Inspiration

To show the working of gunDb integrated with IPFS ( integrating multiple blockchain technologies to build an application )

What it does

Enables users to join a chat room and talk to each other anonymously and also uses a decentralized storage to enable chatting. The login and signup include cryptography, and when we create a new user account a cryptographically secure key pair is generated, and the password is a proof of work seed, to prove and decrypt access to the account's private keys. when we create a node it will be available to the entire decentralized network.

How we built it

The chat application was built using the Svelte, for the frontend, and for the backend we used the gun library. I also set up a login/signup facility for the users. after logging in, one can interact with other users in the same environment. After that, we created a bucket keeping ipfs as the storage type. then we set up the Access Key file for use with S3FS- FUSE. Then we mount our bucket, and after navigating into the mounted bucket, we run the chat application, this we have a decentralized chat application that is pinned on IPFS.

Challenges we ran into

The most challenging part was figuring out how to connect a bucket to this application, although the bucket was going online and we were able to upload files onto the bucket, yet, connecting it to our chat application and providing the bucket with the perfect atmosphere to run on was tough. we also faced hell lot of challenges in setting up the S3FS FUSE access file key for this particular application.

Accomplishments that we're proud of

We successfully implemented the concepts of security, encryption and authorization and also used the advanced exchange equation to connect peers together. We also connected the buckets, and also mounted a filebase ipfs bucket with a certain set of commands.

What we learned

We learned how we can make use of Filebase to create buckets that help in integrating our chat application with ipfs. This integration was a new find for us.

What's next for ChatPat

Next, we would like to frame a indexing protocol for blockchain that can be integrated along with the app and while we are fetching any data we can make use of our own indexer to fetch data for the user. we would also like to create more than one chat rooms.

Built With

Share this project:

Updates