Sasha 7526e205e2
chore: update waku deps (#261)
* update waku deps

* update craco

* update light-chat

* up light-js

* up noise-js

* up noise-rtc

* up relay-js

* up react relay

* up rln-js

* up store-js

* up store react

* up protons deps for web chat
2023-08-07 13:15:01 +02:00
..
2023-01-04 21:41:13 +01:00
2023-08-07 13:15:01 +02:00
2023-01-04 21:57:56 +01:00

Using RLN 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:

git clone https://github.com/waku-org/js-waku-examples
cd js-waku-examples/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/.