meeting_place_chat 0.0.1-dev.29 copy "meeting_place_chat: ^0.0.1-dev.29" to clipboard
meeting_place_chat: ^0.0.1-dev.29 copied to clipboard

Chat SDK is a package that provides secure, end-to-end encrypted messaging using Decentralised Identifiers (DID) and DIDComm v2.1 protocol.

example/README.md

Chat SDK Examples #

Check the sample code to learn how to use Affinidi Meeting Place - Chat SDK package to enable chatting with others using Decentralised Identifiers (DIDs) and the DIDComm v2.1 protocol.

File path What it demonstrates
chat/alice.dart Publishes connection offer (invitation) and initialises individual chat.
chat/bob.dart Finds and accepts the connection offer, initialises individual chat.
group_chat/alice.dart Publishes connection offer, approves connection request and initialises group chat.
group_chat/bob.dart Finds and accepts the connection offer, initialises the group chat after group owner approves connection request. Sends the message.
group_chat/charlie.dart Finds and accepts the connection offer, initialises the group chat after group owner approves connection request. Receives message on chat stream and sends message back.

Running the Examples #

Execute the example Dart script from the packages/meeting_place_chat/examples folder:

# Chat example
dart run chat/alice.dart
dart run chat/bob.dart
# Group chat example
dart run group_chat/alice.dart
dart run group_chat/bob.dart
dart run group_chat/charlie.dart
2
likes
160
points
808
downloads

Publisher

verified publisheraffinidi.com

Weekly Downloads

Chat SDK is a package that provides secure, end-to-end encrypted messaging using Decentralised Identifiers (DID) and DIDComm v2.1 protocol.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, crypto, didcomm, json_annotation, meeting_place_core, meta, uuid

More

Packages that depend on meeting_place_chat