Compare commits

8 Commits

Author SHA1 Message Date
aca91a863b Merge branch 'hotfix/passwordEscape' 2023-08-18 14:07:49 +10:00
2a6a708d70 Accounts: Fix password escape to allow quotes and backslash 2023-08-18 14:07:23 +10:00
8758a5fd5e README: Added info on fixing batch bid bug 2023-08-07 16:32:19 +10:00
7af283a71e README: Added warning about batch bids 2023-07-13 16:39:14 +10:00
a930385e26 README: Fixed spacing 2023-06-27 13:23:41 +10:00
3caff3b7c1 main: Reduced extra logging 2023-06-27 13:13:16 +10:00
e6d75533e3 README.md: Added thanks to designer and added info on the websitesection
- Added a "Thanks" section to acknowledge the designer of the logo and splash screen
- Added links to the website
2023-06-27 13:01:07 +10:00
7b51c62098 multisig: Removed excess logging 2023-06-27 12:44:18 +10:00
3 changed files with 29 additions and 8 deletions

View File

@@ -839,6 +839,11 @@ namespace FireWallet
Account = comboBoxaccount.Text;
Password = textBoxaccountpassword.Text;
// Escape the password to allow use in JSON
Password = Password.Replace("\\", "\\\\");
Password = Password.Replace("\"", "\\\"");
bool loggedin = await Login();
if (loggedin)
{
@@ -900,7 +905,6 @@ namespace FireWallet
buttonRevealAll.Enabled = false;
string content = "{\"method\": \"sendreveal\"}";
string response = await APIPost("", true, content);
AddLog(response);
if (response == "Error")
{
AddLog("Error sending reveal");
@@ -936,7 +940,6 @@ namespace FireWallet
{
buttonRedeemAll.Enabled = false;
string content = "{\"method\": \"sendbatch\", \"params\":[[[\"REDEEM\"]]]}";
AddLog(content);
string response = await APIPost("", true, content);
if (response == "Error")
{
@@ -975,7 +978,6 @@ namespace FireWallet
{
buttonSendAll.Enabled = false;
string content = "{\"method\": \"sendbatch\", \"params\":[[[\"REVEAL\"],[\"REDEEM\"],[\"RENEW\"]]]}";
AddLog(content);
string response = await APIPost("", true, content);
if (response == "Error")
{

View File

@@ -29,8 +29,6 @@ namespace FireWallet
{
// Get multisig info
string infoResp = await mainForm.APIGet("wallet/" + mainForm.Account + "/account/default", true);
mainForm.AddLog(infoResp);
if (infoResp == "Error")
{
NotifyForm notifyForm = new NotifyForm("Error getting multisig info");
@@ -127,7 +125,6 @@ namespace FireWallet
string path = "wallet/" + mainForm.Account + "/shared-key";
string content = "{\"accountKey\": \"" + sig + "\",\"account\":\"default\"}";
string resp = await APIPut(path, true, content);
mainForm.AddLog(resp);
UpdateInfo();
}
@@ -136,7 +133,6 @@ namespace FireWallet
string path = "wallet/" + mainForm.Account + "/shared-key";
string content = "{\"accountKey\": \"" + sig + "\",\"account\":\"default\"}";
string resp = await APIPut(path, true, content);
mainForm.AddLog(resp);
UpdateInfo();
}

View File

@@ -1,5 +1,24 @@
<br>
### Due to a recent issue with bids being sent with the wrong address included with the lockup please update HSD.
This can be done if you are using the internal node.
1. Close the wallet if it is open
2. Open a terminal and run
```bat
cd %appdata%\FireWallet\hsd
git pull
```
3. Verify the fix is pulled by running
```bat
if exist "test\wallet-importnonce-test.js" (echo Fix pulled) else (echo Fix isn't pulled)
```
<br><br>
# FireWallet
Experimental wallet for Handshake chain
Info about the project can be found at https://firewallet or https://firewallet.au
## Installation
### Dependencies
@@ -175,6 +194,10 @@ There are 4 modes: `off` is disabled, `mica` is windows app style, `key` is to m
This file stores the logs for the application.
You should check this file if you have any issues with the application.
# Thanks
Thanks to @ponderingken (https://github.com/ponderingken) for designing the logo and splash screen.
# 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).