2024-05-21 15:05:03 +08:00

598 B

Basic flow:

  • alice create a community by generate a chat keypair, content topic is the hash of the public key
  • alice share the private key with bob
  • bob derive the content topic from private key and subscribe to the topic as a member of the community
  • alice encrypt the message with the public key and send to the topic
  • bob get the message and decrypt with the private key

Admin flow:

  • alice create a community by generate an admin keypair, content topic is the hash of the public chat key
  • alice send specific messages to the topic, bob don't have the key, so he can't send it.
  • todo...