paritytech / paritytech/host-rust-core
RFC: Chat Extension v2 — extendable chat system
Open
@eugypalu is already working on this.
Since Sep 11, 2026.
Chat v1.5
rfc
- Dominant language
- Swift
- Stars
- 10
- Forks
- 3
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 148
Description
Source PR: #13 · docs/rfcs/0002-chat-extension-v2.md · @valentin-parity
Description
The Product supplies messages, participants, metadata and actions; the Host renders the chat shell and delegates every data operation to handlers the Product registered. A Product that registers nothing still gets a working default chat.
Motivation
v1's host-owned message store locked out on-chain, P2P and external sources, offered no customization beyond a fixed room model, and had no path to large rooms.
Requirements
handle_*handlers, with a documented Host default for every aspect left unregistered.- The Host computes
room_idfrom the product id, and delays rendering until product init finishes. - Messages and participants are always paginated; the Host cache is never authoritative.
- Participants cover Person, LitePerson, Contact, Product and Custom.
Tasks
- RFC document body
- Implementation — rust-core
- Implementation — hosts
- dotli
- Desktop
- iOS
- Android
- host-cli
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.