js-waku-examples/rln-js
danisharora099 aadcefc07a
rm: bundle
2022-12-12 13:32:00 +05:30
..
README.md feat: instructions to get started with rln 2022-11-18 13:00:18 +11:00
index.html Merge branch 'master' into danisharora/credentials-from-wallet 2022-12-12 10:30:14 +05:30
package-lock.json add: generate and retrieve credentials from wallet 2022-12-07 20:24:38 +05:30
package.json feat: instructions to get started with rln 2022-11-18 13:00:18 +11:00
pnpm-lock.yaml feat: instructions to get started with rln 2022-11-18 13:00:18 +11:00
style.css feat(rln-js): add some style 2022-10-06 18:34:28 -04: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/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/.