paritytech / paritytech/host-rust-core

RFC: Chat Extension v2 — extendable chat system

Open
#487 0 comments 0 reactions 1 assignee View on GitHub

@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_id from 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.