Redirect to content topic guide

This commit is contained in:
Franck Royer 2021-09-21 14:06:51 +10:00
parent a056227538
commit 2ea9996603
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -44,7 +44,7 @@ const waku = await Waku.create({ bootstrap: true });
The `contentTopic` is a metadata `string` that allows categorization of messages on the waku network.
Depending on your use case, you can either create one (or several) new `contentTopic`(s) or look at the [RFCs](https://rfc.vac.dev/) and use an existing `contentTopic`.
See the [Waku v2 Topic Usage Recommendations](https://rfc.vac.dev/spec/23/) for more details.
See [How to Choose a Content Topic](./guides/choose-content-topic.md) for more details.
For example, if you were to use a new `contentTopic` such as `/my-cool-app/1/my-use-case/proto`,
here is how to listen to new messages received via [Waku v2 Relay](https://rfc.vac.dev/spec/11/):