You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### 🕓 Changelog
This PR introduces a `--version` flag to the CLI that displays the
latest commit hash (=version) of the script. It also improves error
handling in the `validate_network` function for better clarity.
Additionally, minor code comments have been updated for improved
understanding.
---------
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
Copy file name to clipboardexpand all lines: README.md
+4
Original file line number
Diff line number
Diff line change
@@ -73,13 +73,17 @@ This Bash [script](./safe_hashes.sh) calculates the Safe transaction hashes by r
73
73
**Options:**
74
74
75
75
-`--help`: Display this help message.
76
+
-`--version`: Display the latest local commit hash (=version) of the script.
76
77
-`--list-networks`: List all supported networks and their chain IDs.
77
78
-`--network <network>`: Specify the network (e.g., `ethereum`, `polygon`).
78
79
-`--address <address>`: Specify the Safe multisig address.
79
80
-`--nonce <nonce>`: Specify the transaction nonce (required for transaction hashes).
80
81
-`--message <file>`: Specify the message file (required for off-chain message hashes).
81
82
-`--interactive`: Use the interactive mode (optional for transaction hashes).
82
83
84
+
> [!NOTE]
85
+
> Please note that `--help`, `--version`, and `--list-networks` can be used independently or alongside other options without causing the script to fail. They are special options that can be called without affecting the rest of the command processing.
86
+
83
87
Before you invoke the [script](./safe_hashes.sh), make it executable:
0 commit comments