-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from waku-org/weboko/change-pubsub
feat: allow to change pubsub topic
- Loading branch information
Showing
5 changed files
with
97 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
export const CONTENT_TOPIC = "/toy-chat/2/luzhou/proto"; | ||
export const PUBSUB_TOPIC = "/waku/2/default-waku/proto"; | ||
export const PUBSUB_TOPIC = "/waku/2/rs/1/0"; | ||
export const SUPPORTED_PUBSUB_TOPICS = [ | ||
"/waku/2/rs/1/0", | ||
"/waku/2/rs/1/1", | ||
"/waku/2/rs/1/2", | ||
"/waku/2/rs/1/3", | ||
"/waku/2/rs/1/4", | ||
"/waku/2/rs/1/5", | ||
"/waku/2/rs/1/6", | ||
"/waku/2/rs/1/7", | ||
]; | ||
|
||
export const SIGNATURE_MESSAGE = | ||
"The signature of this message will be used to generate your RLN credentials. Anyone accessing it may send messages on your behalf, please only share with the RLN dApp"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters