Updates
This commit is contained in:
parent
0c03e01807
commit
e756d03374
|
@ -0,0 +1,13 @@
|
|||
# Using Waku Light Push and Filter in JavaScript
|
||||
|
||||
**Demonstrates**:
|
||||
|
||||
- Waku Light node: Waku Filter + Waku Light Push
|
||||
- Pure Javascript/HTML.
|
||||
- Use minified bundle of js from unpkg.com, no import, no package manager.
|
||||
|
||||
This example uses Waku Filter to listen to messages and Waku Light Push to send messages.
|
||||
|
||||
To test the example, simply download the `index.html` file from this folder and open it in a browser.
|
||||
|
||||
The `master` branch's HEAD is deployed at https://examples.waku.org/light-js/.
|
|
@ -0,0 +1,13 @@
|
|||
# Using Waku Relay in JavaScript
|
||||
|
||||
**Demonstrates**:
|
||||
|
||||
- Waku Relay: Send and receive messages using Waku Relay.
|
||||
- Pure Javascript/HTML.
|
||||
- Use minified bundle of js from unpkg.com, no import, no package manager.
|
||||
|
||||
This example uses Waku Relay to send and receive simple text messages.
|
||||
|
||||
To test the example, simply download the `index.html` file from this folder and open it in a browser.
|
||||
|
||||
The `master` branch's HEAD is deployed at https://examples.waku.org/relay-js/.
|
|
@ -0,0 +1,30 @@
|
|||
# Using [RLN](https://rfc.vac.dev/spec/32/) in JavaScript
|
||||
|
||||
> Rate limiting nullifier (RLN) is a construct based on zero-knowledge proofs
|
||||
> that provides an anonymous rate-limited signaling/messaging framework
|
||||
> suitable for decentralized (and centralized) environments
|
||||
|
||||
**Demonstrates**:
|
||||
|
||||
- RLN:
|
||||
- Generate credentials
|
||||
- Insert membership to smart contract (Goerli testnet)
|
||||
- Retrieve smart contract state
|
||||
- Generate and send proofs
|
||||
- Verify incoming proofs
|
||||
- Pure Javascript/HTML.
|
||||
- Use minified bundle of js from unpkg.com, no import, no package manager.
|
||||
|
||||
To test the example:
|
||||
|
||||
```shell
|
||||
git clone https://github.com/waku-org/js-waku-examples
|
||||
cd js-waku-examples/rln-js
|
||||
npm install
|
||||
npm run start
|
||||
# open http://127.0.0.1:8080 In your browser
|
||||
```
|
||||
|
||||
**There are a known issue using this webapp with Firefox + MetaMask. Try Chrome or Brave if you encounter any issue**.
|
||||
|
||||
The `master` branch's HEAD is deployed at https://examples.waku.org/rln-js/.
|
|
@ -0,0 +1,13 @@
|
|||
# Using Waku Store in JavaScript
|
||||
|
||||
**Demonstrates**:
|
||||
|
||||
- Waku Store: Using a condition to stop retrieving results from Waku Store.
|
||||
- Pure Javascript/HTML.
|
||||
- Use minified bundle of js from unpkg.com, no import, no package manager.
|
||||
|
||||
This example uses Waku Store to retrieve the latest ping relay message (used for keep alive purposes) and displays its timestamp.
|
||||
|
||||
To test the example, simply download the `index.html` file from this folder and open it in a browser.
|
||||
|
||||
The `master` branch's HEAD is deployed at https://examples.waku.org/store-js/.
|
Loading…
Reference in New Issue