Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
weboko committed Jan 22, 2024
1 parent 31cce80 commit cbb436a
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions examples/rln-js/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,6 @@ import { initUI } from "./ui";
import { initRLN } from "./rln";
import { initWaku } from "./waku";

/**
Keystore: easy way to import or hardcode credentials
Metamask:
- abstraction to get provider with triggering dialog from Metamask
- default: true - embed such abstraction into RLN initialization by default
- default: false - read provider from options.provider
RLN Instance:
- create and RLNContract are the same;
- RLNEncoder and RLNDecoder should be just createDecoder and createEncoder and use the one from Waku inside;
Verification:
- embed verification into RLNDecoder
reduce: const res = message.verify(rlnContract.roots());
- fix the problem with double proof generation
in preparePushMessage
*/

async function run() {
const { onLoaded, onStatusChange, registerEvents } = initUI();
const { encoder, decoder, rlnContract } = await initRLN(onStatusChange);
Expand Down

0 comments on commit cbb436a

Please sign in to comment.