mirror of
https://github.com/logos-messaging/examples.waku.org.git
synced 2026-01-02 12:53:08 +00:00
remove comment
This commit is contained in:
parent
31cce80034
commit
cbb436ad35
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user