From a8f425434e6455bc0e0baea933645dd65d22d365 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 15 Jun 2023 00:00:37 +1000 Subject: [PATCH] config: Added custom HSD launch command - Added `HSD` and `HSD-command` keys to node.txt file - Users can now set a custom HSD launch command by setting the `hsd-command` key in node.txt - README.md updated with instructions on how to set a custom HSD launch command using `{default-dir}`, `{key}` and `{Bob}` - Support section added to README.md --- README.md | 17 ++++++++++++++++- example-configs/node.txt | 2 ++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d90fb0..8494b90 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,15 @@ This file stores the node (HSD/Bob connection) settings. The Network is the network you want to connect to (default is `0` for Mainnet). If you delete this file, FireWallet will show the node setup screen on next startup. +You can set a custom HSD launch command by setting the `hsd-command` key. +The default launch is the same as this +```yaml +HSD-command: {default-dir} --agent=FireWallet --index-tx --index-address --api-key {key} --prefix {Bob} +``` +The `{default-dir}` will be replaced with the HSD directory `%appdata%\FireWallet\hsd\`. +The `{key}` will be replaced with the API key from the node.txt file. +The `{Bob}` will be replaced with the Bob wallet HSD data directory `%appdata%\Bob\hsd_data\` this is used to sync FireWallet with Bob's accounts and also stops you needing to sync the chain twice. + ## theme.txt This file stores the theme settings. The theme is the color scheme of the application. @@ -142,4 +151,10 @@ There are 4 modes: `off` is disabled, `mica` is windows app style, `key` is to m ## log.txt This file stores the logs for the application. -You should check this file if you have any issues with the application. \ No newline at end of file +You should check this file if you have any issues with the application. + + +# Support +If you have any issues with the application you can open an issue on GitHub or contact me on Discord (NathanWoodburn on most Handshake servers). + +If you would like to support this project you can find out how at https://nathan.woodburn.au/#donate or you can help by contributing to the project on GitHub. \ No newline at end of file diff --git a/example-configs/node.txt b/example-configs/node.txt index 2df3178..984abee 100644 --- a/example-configs/node.txt +++ b/example-configs/node.txt @@ -1,3 +1,5 @@ IP: 127.0.0.1 Network: 0 Key: my-super-secret-api-key +HSD: False +HSD-command: {default-dir} --agent=FireWallet --index-tx --index-address --api-key {key} --prefix {Bob} \ No newline at end of file