mirror of
https://github.com/logos-messaging/docs.waku.org.git
synced 2026-01-06 23:03:10 +00:00
remove this.
This commit is contained in:
parent
96d65b0f94
commit
1a976da10f
@ -56,8 +56,8 @@ import { createEncoder, createDecoder } from "@waku/sdk";
|
|||||||
const contentTopic = "/my-app/1/messages/proto";
|
const contentTopic = "/my-app/1/messages/proto";
|
||||||
|
|
||||||
// Create a message encoder and decoder
|
// Create a message encoder and decoder
|
||||||
const encoder = this.node.createEncoder({ contentTopic: this.contentTopic });
|
const encoder = node.createEncoder({ contentTopic: this.contentTopic });
|
||||||
const decoder = this.node.createDecoder({ contentTopic: this.contentTopic });
|
const decoder = node.createDecoder({ contentTopic: this.contentTopic });
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also use [`@waku/message-encryption`](/guides/js-waku/message-encryption) to encrypt and decrypt messages using Waku libraries.
|
You can also use [`@waku/message-encryption`](/guides/js-waku/message-encryption) to encrypt and decrypt messages using Waku libraries.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user