Code and scripts used for the Waku workshop at TrustX - DevConnect - Apr 2022
Go to file
Franck Royer 6bab0900d6
Update README
2022-04-20 16:01:56 +10:00
LICENSE-APACHE-v2 Add licenses 2022-04-19 16:32:54 +10:00
LICENSE-MIT Add licenses 2022-04-19 16:32:54 +10:00
README.md Update README 2022-04-20 16:01:56 +10:00
index.html Add Relay + Store + Symmetric encryption example 2022-04-20 15:59:44 +10:00

README.md

Waku Workshop at TrustX - DevConnect 2022

Open the 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.

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

Use the bootstrap.peers property on Waku.create to connect to a custom node.