SDK Installation
The Handle Chat SDK is published as @koralabs/handle-chat-sdk. It is intended for developers building encrypted chat clients or integrations that need the same message-format and session helpers used by HandleChat.
npm install @koralabs/handle-chat-sdk
- Signal-based store and directory helpers.
- Helpers for creating bundles and local cryptographic store entries.
- Message encryption and decryption helpers.
- Serialization helpers for saving bundles and stores to app storage.
- TypeScript interfaces for chat users, chat messages, session messages, and store entries.
import {
SignalProtocolStore,
createStoreBundle,
encryptAndBuildMessage,
readMessage,
serializeBundle,
serializeStore
} from '@koralabs/handle-chat-sdk';
The SDK handles encrypted chat primitives, not the full application stack. Your app still needs:
- A UI for chat requests, active chats, and message threads.
- A transport layer or backend that delivers session events and encrypted messages.
- Application storage for serialized bundles, stores, and chat history.
- User identity resolution, such as Handle lookups, if your product uses Handles as chat identities.