diff --git a/README.md b/README.md index 1916b7bc9d..6b71244557 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ waku.relay.addObserver((msg) => { }, ["/my-cool-app/1/my-use-case/proto"]); ``` -The examples chat apps currently use content topic `"/waku/2/huilong/proto"`. +The examples chat apps currently use content topic `"/toy-chat/2/huilong/proto"`. Send a message on the waku relay network: diff --git a/examples/cli-chat/src/chat.ts b/examples/cli-chat/src/chat.ts index c075a097c0..32d286740e 100644 --- a/examples/cli-chat/src/chat.ts +++ b/examples/cli-chat/src/chat.ts @@ -15,7 +15,7 @@ import TCP from 'libp2p-tcp'; import { multiaddr, Multiaddr } from 'multiaddr'; import PeerId from 'peer-id'; -const ChatContentTopic = '/waku/2/huilong/proto'; +const ChatContentTopic = '/toy-chat/2/huilong/proto'; export default async function startChat(): Promise { let opts = processArguments(); diff --git a/examples/web-chat/src/App.tsx b/examples/web-chat/src/App.tsx index fc52d8ea3f..2c10bb5f24 100644 --- a/examples/web-chat/src/App.tsx +++ b/examples/web-chat/src/App.tsx @@ -44,7 +44,7 @@ const themes = { }, }; -export const ChatContentTopic = '/waku/2/huilong/proto'; +export const ChatContentTopic = '/toy-chat/2/huilong/proto'; async function retrieveStoreMessages( waku: Waku,