跳到主要内容

Chat API 概览

简介

聊天API允许钱包用户通过使用区块链帐户作为地址在对等体之间建立端到端消息传递,与WalletConnect网络中的其他钱包用户进行1对1消息传递。

Context

Chat API would be present in wallets where you could search or add a new contact from their wallet address on-chain and start a one-to-one conversation with them.

It would resemble direct messaging (DM) currently present in many social media applications but it would be end-to-end encrypted and available across different wallet providers.

Additionally it could be recovered from a seed phrase to allow users to migrate wallet provider without losing their chat.

Goals

A user can register their blockchain account to be discoverable in the default keyserver.

A user can invite another wallet user to chat with their blockchain account regardless of its discoverability.

A user can message another wallet user after inviting them into a chat thread that has been mutually approved.