examples.waku.org/rln-js
status-im-auto 5b39620554 Updates 2023-06-23 04:36:52 +00:00
..
README.md Updates 2023-06-23 04:36:52 +00:00
favicon.ico Updates 2023-01-14 02:05:02 +00:00
favicon.png Updates 2023-01-18 13:01:44 +00:00
index.html Updates 2023-05-17 20:09:49 +00:00
index.js Updates 2023-06-20 22:27:04 +00:00
manifest.json Updates 2023-01-18 13:01:44 +00:00
package-lock.json Updates 2023-01-14 02:05:02 +00:00
package.json Updates 2023-01-14 02:05:02 +00:00
style.css Updates 2023-01-12 17:53:13 +00:00

README.md

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/.