* chore(noise): readable default checks for keypairs
* chore(noise): fix naming of arg in exists proc
* chore(noise): fix naming to make it clearer
* chore(noise): inline and remove result usage
* chore(noise): move the isDefault function up, replace defaultyVar with value
* chore(noise): inline style
* chore(noise): static the default check, remove inline pragma
If any error occurs during the on-chain registration, it will be handled; the chat2 users will get informed about the cause and the installation of rln-relay gets discarded and the chat program continues with no crashing.
* Persisting Credentials implemented by writing json of keypair and rlnindex to files
* Removing testing files and ignores
* Update waku/v2/protocol/waku_rln_relay/waku_rln_relay_utils.nim
Co-authored-by: Daniel Kaiser <git@kais3r.de>
* Update waku/v2/protocol/waku_rln_relay/waku_rln_relay_utils.nim
Co-authored-by: Daniel Kaiser <git@kais3r.de>
* Comments
* Comments
* Security warning in comments
* Redundant echos. Omitting unused variables.
* Update waku/v2/protocol/waku_rln_relay/waku_rln_relay_utils.nim
Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>
* Limit line lengths using line breaks and indents
* Membership file paths declared as const
* Const fix
* Rln Credentials Merged.
Reading credentials from file abstracted away.
* Spaces
* Spaces
* Dangling constants removed. Comments position.
* Import sequence.
* Path as argument to readPersistentKeys.
Spaces in comments
* readPersistentKeys test
* Debug and info
* Index check in test
* Update tests/v2/test_waku_rln_relay.nim
Co-authored-by: G. <28568419+s1fr0@users.noreply.github.com>
* Abstracted writeRlnCredentials.
Fix var name in test.
* Usage of writeRlnCredentials in test
* Dnsclient?
* Test reverted to direct call to writeFile.
Abstrated writePersistentRlnCredentials usage causing error,
with readPersistentRlnCredentials
* Indentation
* Revert "Dnsclient?"
This reverts commit 3f4dba1a0b.
* Reverting abstraction of writing..
..persiting credential
Co-authored-by: Daniel Kaiser <git@kais3r.de>
Co-authored-by: Keshav Gupta <keshav.pg@hotmail.com>
Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>
Co-authored-by: G. <28568419+s1fr0@users.noreply.github.com>
* initial draft of the tutorial
* WIP: explaining test scenarios
* revises the intro
* sample text output and further instructions and refinement
* renames the prerequisite file
* adds a link to the prerequisite tutorial
* explains how to reuse rln credentials
* adds more revisions on the variable names
* fixes the file name
* revises the intro
* minor rewording
* adds a section header
* makes the waku-rln-relay name consistent in case
* fixes the contract address
* revises the description
* renames client in the sample test
* proof read and spell check
* disambiguates ethereum and goerli accounts
* reorganizes the text
* adds image folder
* adds fig caption and some description
* fixes a wrong case
* removes commented parts
* revises the overview
* more clarification on the spam protection
* addresses editorial comments
* fixes the contract address
* fixes a typo