Where Messages are Stored
Last updated
Last updated
In the TEA Party, the messages are stored in an database. OrbitDB is a non-relational database running on top of IPFS.
For TEA Party's public messages, there's no need to encrypt.
Messages are stored in (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 and then save the cypher to OrbitDB.
Because only TEA Party hosting nodes have the in their own enclave, other apps or users cannot get the content of these messages.
OrbitDB /IPFS is very cheap compared to using the which exclusively uses RAM to store the state. For more details, please see .