Message data storage

In DMTP, all messages are managed in the decentralized way, so even if DMTP database is disappeared due to hacking from malicious attacker or terminate of the service, You can access your past message data and decrypt it using your key.

How it works

Basically, all messages data exchanged via DMTP are stored in both DMTP DB and IPFS.

The CID of message data is stored in DMTP DB ,and after a certain period of time, or after a certain number of items are stored, its CID list is uploaded to IPFS again. Then we can get the CID of the CID list and we stored it in our DB and the blockchain, currently we use Polygon.

Future upgrade plan

We have some plans to upgrade the permanency or persistence. Some say that IPFS cannot adequately guarantee permanence.

On the other hand we think all messages mustn't be stored permanently because most of messages in our life are not important. Do you think we should store 「GM ! 」 for 200+ years ?? Anyone can see that it is obviously a waste of storage. However of course there are some important messages like agreement or chat with the deceased. For these purpose we should have the models that can store the messages permanently and now we have some ideas like stored them in fully-on-chain model or using Arweave, which focus on the data permanence.

We would like to add more features in this area as we hear from the community, so if you have any feedback or opinions, feel free to join our community.

Last updated