mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-15 16:36:43 +00:00
chore: update docs for rln-keystore-generator (#2210)
This commit is contained in:
parent
9ff441ab47
commit
8c5666d200
4
Makefile
4
Makefile
@ -178,10 +178,6 @@ chat2: | build deps librln
|
|||||||
echo -e $(BUILD_MSG) "build/$@" && \
|
echo -e $(BUILD_MSG) "build/$@" && \
|
||||||
$(ENV_SCRIPT) nim chat2 $(NIM_PARAMS) waku.nims
|
$(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
|
rln-db-inspector: | build deps librln
|
||||||
echo -e $(BUILD_MSG) "build/$@" && \
|
echo -e $(BUILD_MSG) "build/$@" && \
|
||||||
$(ENV_SCRIPT) nim rln_db_inspector $(NIM_PARAMS) waku.nims
|
$(ENV_SCRIPT) nim rln_db_inspector $(NIM_PARAMS) waku.nims
|
||||||
|
@ -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
|
1. First, we compile the binary
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make -j12 rln-keystore-generator
|
make -j16 wakunode2
|
||||||
```
|
```
|
||||||
This command will fetch the rln static library and link it automatically.
|
This command will fetch the rln static library and link it automatically.
|
||||||
|
|
||||||
@ -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
|
3. Dry run the command to ensure better degree of execution
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/rln_keystore_generator \
|
./build/wakunode2 generateRlnKeystore \
|
||||||
--rln-relay-eth-client-address:$RPC_URL \
|
--rln-relay-eth-client-address:$RPC_URL \
|
||||||
--rln-relay-eth-private-key:$PRIVATE_KEY \
|
--rln-relay-eth-private-key:$PRIVATE_KEY \
|
||||||
--rln-relay-eth-contract-address:$RLN_CONTRACT_ADDRESS \
|
--rln-relay-eth-contract-address:$RLN_CONTRACT_ADDRESS \
|
||||||
@ -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
|
4. Run the keystore generator with the onchain registration
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/rln_keystore_generator \
|
./build/wakunode2 generateRlnKeystore \
|
||||||
--rln-relay-eth-client-address:$RPC_URL \
|
--rln-relay-eth-client-address:$RPC_URL \
|
||||||
--rln-relay-eth-private-key:$PRIVATE_KEY \
|
--rln-relay-eth-private-key:$PRIVATE_KEY \
|
||||||
--rln-relay-eth-contract-address:$RLN_CONTRACT_ADDRESS \
|
--rln-relay-eth-contract-address:$RLN_CONTRACT_ADDRESS \
|
||||||
|
@ -70,10 +70,6 @@ task networkmonitor, "Build network monitor tool":
|
|||||||
let name = "networkmonitor"
|
let name = "networkmonitor"
|
||||||
buildBinary name, "apps/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":
|
task rln_db_inspector, "Build the rln db inspector":
|
||||||
let name = "rln_db_inspector"
|
let name = "rln_db_inspector"
|
||||||
buildBinary name, "tools/rln_db_inspector/"
|
buildBinary name, "tools/rln_db_inspector/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user