waku-trustx-workshop/README.md

22 lines
789 B
Markdown
Raw Permalink Normal View History

2022-04-19 06:32:04 +00:00
# Waku Workshop at TrustX - DevConnect 2022
2022-04-20 06:01:56 +00:00
Open the [index.html](https://github.com/status-im/waku-trustx-workshop/blob/master/index.html) file with your browser and enjoy the decentralized, censorship-resistant experience.
ps: Once you have opened the file in GitHub, you can click on _preview_ to run the app.
2022-04-19 06:38:52 +00:00
## 1. Send and Receive Messages in a simple JavaScript + HTML app
We are using Waku Relay to send and receive messages.
## 2. Retrieve Missed Messages
When the page load, we are retrieving messages from the past 7 days from a random Waku Store node.
## 3. Add Symmetric Encryption
Use Waku Message Version 1 encryption to encrypt all communications.
## 4. Connect to custom nwaku node
2022-04-20 06:00:35 +00:00
Use the `bootstrap.peers` property on `Waku.create` to connect to a custom node.