Skip to content

Commit

Permalink
chore: update docs for rln-keystore-generator (#2210)
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc authored Nov 21, 2023
1 parent 9ff441a commit 8c5666d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,6 @@ chat2: | build deps librln
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim chat2 $(NIM_PARAMS) waku.nims

rln-keystore-generator: | build deps librln
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim rln_keystore_generator $(NIM_PARAMS) waku.nims

rln-db-inspector: | build deps librln
echo -e $(BUILD_MSG) "build/$@" && \
$(ENV_SCRIPT) nim rln_db_inspector $(NIM_PARAMS) waku.nims
Expand Down
6 changes: 3 additions & 3 deletions docs/tutorial/rln-keystore-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ It is meant to be used to generate and persist a set of valid RLN credentials to
1. First, we compile the binary

```bash
make -j12 rln-keystore-generator
make -j16 wakunode2
```
This command will fetch the rln static library and link it automatically.

Expand All @@ -31,7 +31,7 @@ It is meant to be used to generate and persist a set of valid RLN credentials to
3. Dry run the command to ensure better degree of execution

```bash
./build/rln_keystore_generator \
./build/wakunode2 generateRlnKeystore \
--rln-relay-eth-client-address:$RPC_URL \
--rln-relay-eth-private-key:$PRIVATE_KEY \
--rln-relay-eth-contract-address:$RLN_CONTRACT_ADDRESS \
Expand All @@ -43,7 +43,7 @@ It is meant to be used to generate and persist a set of valid RLN credentials to
4. Run the keystore generator with the onchain registration

```bash
./build/rln_keystore_generator \
./build/wakunode2 generateRlnKeystore \
--rln-relay-eth-client-address:$RPC_URL \
--rln-relay-eth-private-key:$PRIVATE_KEY \
--rln-relay-eth-contract-address:$RLN_CONTRACT_ADDRESS \
Expand Down
4 changes: 0 additions & 4 deletions waku.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ task networkmonitor, "Build network monitor tool":
let name = "networkmonitor"
buildBinary name, "apps/networkmonitor/"

task rln_keystore_generator, "Build the rln keystore generator":
let name = "rln_keystore_generator"
buildBinary name, "tools/rln_keystore_generator/"

task rln_db_inspector, "Build the rln db inspector":
let name = "rln_db_inspector"
buildBinary name, "tools/rln_db_inspector/"
Expand Down

0 comments on commit 8c5666d

Please sign in to comment.