From cfb95ce18230356d364bde3958234df9c281d680 Mon Sep 17 00:00:00 2001 From: NodeJom <128386488+NodeJom@users.noreply.github.com> Date: Fri, 8 Dec 2023 16:56:44 +0100 Subject: [PATCH 1/2] Update participants.mdx Fixed some typos and changed the command to generate the genesis key --- .../pages/operators/networks/genesis-flow/participants.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/docs/pages/operators/networks/genesis-flow/participants.mdx b/packages/docs/pages/operators/networks/genesis-flow/participants.mdx index 47d8a8c6..ec08def2 100644 --- a/packages/docs/pages/operators/networks/genesis-flow/participants.mdx +++ b/packages/docs/pages/operators/networks/genesis-flow/participants.mdx @@ -21,7 +21,7 @@ This can be done through the namada cli: ```bash ALIAS="" -namadac gen key --alias $ALIAS --pre-genesis +namadaw --pre-genesis key gen --alias $ALIAS ``` After the user has entered their passwords and written down their mnemonic phrase, the namada cli will save the keys to the `pre-genesis` folder inside the [base directory](../../ledger/base-directory.mdx). @@ -89,7 +89,7 @@ Derived established account address: tnam1q8lsztqqhpjxdwzw88mqqc2mun7dvpxvas3v2d It is useful to save this address for later use. ```bash -ESTABLISHED_ACCOUNT_ADDRESS=tnam1q8lsztqqhpjxdwzw88mqqc2mun7dvpx +ESTABLISHED_ACCOUNT_ADDRESS=tnam1q8lsztqqhpjxdwzw88mqqc2mun7dvpxvas3v2dxk ``` This will generate a `transactions.toml` file that contains the pre-genesis transaction that will establish the account. The `transactions.toml` file should look something like this: @@ -201,4 +201,4 @@ Once all pre-genesis transactions have been generated and signed, the pre-genesi By convention, a directory for each pre-genesis network participant is created in the git repository. The `signed-transactions.toml` file is then submitted to the respective directory. - \ No newline at end of file + From d501d7a68c518a20bd601d00350eb6af86a8ef4c Mon Sep 17 00:00:00 2001 From: NodeJom <128386488+NodeJom@users.noreply.github.com> Date: Fri, 8 Dec 2023 17:01:18 +0100 Subject: [PATCH 2/2] Update participants.mdx Updated init-genesis-established-account command details --- .../operators/networks/genesis-flow/participants.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/docs/pages/operators/networks/genesis-flow/participants.mdx b/packages/docs/pages/operators/networks/genesis-flow/participants.mdx index 47d8a8c6..ca834e0d 100644 --- a/packages/docs/pages/operators/networks/genesis-flow/participants.mdx +++ b/packages/docs/pages/operators/networks/genesis-flow/participants.mdx @@ -75,7 +75,7 @@ The `$ALIAS` variable is the alias of the pre-genesis keys that were generated i ```bash #Ensure $BASE_DIR is set to the base directory TX_FILE_PATH="$BASE_DIR/pre-genesis/transactions.toml" -namadac utils init-genesis-established-account --path $TX_FILE_PATH --alias $ALIAS +namadac utils init-genesis-established-account --path $TX_FILE_PATH --aliases $ALIAS # You can change the `--path` argument to any file path, but the recommended is `$BASE_DIR/pre-genesis/transactions.toml` ``` @@ -103,13 +103,13 @@ public_keys = ["tpknam1qr872zwdvw4u4nkpl0ykmvhyvxw7j0u6g7ymz03d7he0jr3szkuwczddj #### Generate a pre-genesis multisignature account -In order to generate a pre-genesis multisignature account, simply add multiple `--alias` flags to the command: +In order to generate a pre-genesis multisignature account, just add --aliases. With the list of key aliases to use, separated by commas. ```bash # Ensure $BASE_DIR is set to the base directory # Assuming that the values of $ALIAS1, $ALIAS2, and $ALIAS3 are the aliases of the pre-genesis keys that were generated in the [Generating keys](#generating-keys) step. TX_FILE_PATH="$BASE_DIR/pre-genesis/transactions.toml" -namadac utils init-genesis-established-account --path $TX_FILE_PATH --alias $ALIAS1 --alias $ALIAS2 --alias $ALIAS3 +namadac utils init-genesis-established-account --path $TX_FILE_PATH --aliases $ALIAS1,$ALIAS2,$ALIAS3 ``` The command will ouptut the generated address of the multisignature account. @@ -201,4 +201,4 @@ Once all pre-genesis transactions have been generated and signed, the pre-genesi By convention, a directory for each pre-genesis network participant is created in the git repository. The `signed-transactions.toml` file is then submitted to the respective directory. - \ No newline at end of file +