project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

Fireside Chat

A decentralized social network site where you can message other users and participate in servers.

Fireside Chat

Created At

HackFS 2022

Winner of

🏊‍♂️ POAP — Pool Prize

🏊‍♂️ Tableland — Pool Prize

Project Description

Firechat is a peer-to-peer social-media app where you can add friends and talk with them over the XMTP protocol. The user logs in with their metamask account and is able to communicate with any other user using the app as long as they know their public address. In addition, users can browse different servers as long as they have the poap that states they are part of that community.

How it's Made

This project uses the XMTP protocol for one on one messaging. The protocol was useful for this project because it enables native encryption and data storage for all the messages. In addition, it is completely gasses because the messaging is done off-chain, which saves on costs.

However, in order to do group chats in servers, Tableland was used to store all the server data. There will be a main table for the entire app that stores all the accounts that were created. When a user first logs into the app, they will initialize an empty table that will store all the servers they are part of. The reference to this table will be added to the main table, which stores all the user dat for the app. Once a user creates a server, a brand new table is created and its reference is added to the users personal table. The server also has separate channels, each of which is its own table. Within those table channels, we store the individual messages. Since tableland has a 1kb limit on data storage, ipfs is used for storage.

The owner of a server can create a poap collection. This poap can be distributed to users that went to a certain event. Users that own the poap would unlock write permissions to the tableland table for that server.

background image mobile

Join the mailing list

Get the latest news and updates