Skip to content

Commit

Permalink
Merge pull request #221 from NodeJom/master
Browse files Browse the repository at this point in the history
 Documentation updates
  • Loading branch information
bengtlofgren authored Dec 14, 2023
2 parents 75e61a5 + 5910d92 commit 0188b56
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -103,13 +103,15 @@ public_keys = ["tpknam1qr872zwdvw4u4nkpl0ykmvhyvxw7j0u6g7ymz03d7he0jr3szkuwczddj

#### Generate a pre-genesis multisignature account

In order to generate a pre-genesis multisignature account, simply add multiple `--aliases` 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 --aliases $ALIAS1 --aliases $ALIAS2 --aliases $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.
Expand Down

0 comments on commit 0188b56

Please sign in to comment.