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

DappChat

Decentralized chat application with document transfer capabilities and NFT services. A Dropbox-Telegram Decentralized Chimera!

DappChat

Created At

HackFS 2022

Winner of

🏊‍♂️ Valist — Pool Prize

🥈 Covalent — Best Use

🔟 Spheron — Top 10 project

Project Description

DappChat is a Decentralized chat application with document transfer capabilities and NFT services, while providing TradFi conveniences.

The polygon network was used to deploy all the contracts, both the contracts of all the NFTs and the main chat contract, in this case it was designed for its speed and low fees, making it easily scalable to carry out an effective chat.

The chat contract allows us to attach any kind of text to our message, in our case we use the discord format to send the CID of the files and instructions about the messages.

Filecoin and IPFS are the core of our project since almost every part of it works thanks to a product made by the Filecoin community. Being able to send files from our chat window is possible thanks to the Chainsafe service (https://chainsafe.io/), since with its API's we can upload the files to IPFS directly, previously associating them to a folder, which in this case is the same address (this in order to save us the use of the database), and after this send the CID of the content to the recipient.

We use several other Sponsor technologies which we will go in deep in the following section.

How it's Made

Tech we Use:

  • Filecoin: - ChainSafe: Upload the files to IPFS on the same reference folder. Get files uploaded to IPFS by folder. - NFT.Storage: Through the NFT.Storage API we upload the files and metadata to IPFS. We then mined the NFT on the Polygon network. - IPFS Gateways: We use public IPFS Gateways to obtain our files, the gateways used are. https://ipfs.io/ipfs/ https://cf-ipfs.com/ipfs/ https://cloudflare-ipfs.com/ipfs/ https://gateway.pinata.cloud/ipfs/ https://gateway.ipfs.io/ipfs/

  • Polygon Network: - Interaction with chat contract to send messages. - Chat Contract Address: 0x7edf4BDFD63a5A98475f6831b9e42176aa21d509. - Chat SmartContract: https://github.com/altaga/DappChat/blob/main/Contract/Chat.sol - Send Matic token - Deploy NFT Contract and Mint NFT. - NFT SmartContract: https://github.com/altaga/DappChat/blob/main/Contract/NFT-Token.sol

  • The datafeeds in our app are directly from Chainlink's price data feeds. - Chainlink Docs: https://data.chain.link/polygon/mainnet - Price Datafeed SmartContract: https://github.com/altaga/DappChat/blob/main/Contract/PriceConsumerV3.sol

*Valist: We have our version of the software documentation released with Valist. Valist URL: https://app.valist.io/altaga/dappchat

  • Spheron: We make use of your Deployment service for production. Spheron URL: https://dappchat-deploy-6a5nkr.spheron.app/

  • Covalent: Obtaining account balances. We get the contracts from the NFTs.

background image mobile

Join the mailing list

Get the latest news and updates