mirror of https://github.com/waku-org/js-waku.git
Merge pull request #299 from status-im/readme-topic
This commit is contained in:
commit
3f0af32c5a
|
@ -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.
|
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`.
|
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`,
|
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/):
|
here is how to listen to new messages received via [Waku v2 Relay](https://rfc.vac.dev/spec/11/):
|
||||||
|
|
Loading…
Reference in New Issue