Where Messages are Stored

In the TEA Party, the messages are stored in an OrbitDBarrow-up-right database. OrbitDB is a non-relational database running on top of IPFS.

Security

For TEA Party's public messages, there's no need to encrypt.

Messages are stored in orbitdbarrow-up-right (and eventually in IPFS) in plain text.

But private messages aren't saved in plain text. The hosting nodes will encrypt the message using the app_aes_keyarrow-up-right and then save the cypher to OrbitDB.

Because only TEA Party hosting nodes have the app_aes_keyarrow-up-right in their own enclave, other apps or users cannot get the content of these messages.

Cost

OrbitDB /IPFS is very cheap compared to using the state machinearrow-up-right which exclusively uses RAM to store the state. For more details, please see orbitdbarrow-up-right.

Last updated