Compare commits

..

No commits in common. "master" and "v4.0" have entirely different histories.
master ... v4.0

3 changed files with 8 additions and 12 deletions

View File

@ -839,11 +839,6 @@ 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)
{
@ -905,6 +900,7 @@ namespace FireWallet
buttonRevealAll.Enabled = false;
string content = "{\"method\": \"sendreveal\"}";
string response = await APIPost("", true, content);
AddLog(response);
if (response == "Error")
{
AddLog("Error sending reveal");
@ -940,6 +936,7 @@ namespace FireWallet
{
buttonRedeemAll.Enabled = false;
string content = "{\"method\": \"sendbatch\", \"params\":[[[\"REDEEM\"]]]}";
AddLog(content);
string response = await APIPost("", true, content);
if (response == "Error")
{
@ -978,6 +975,7 @@ 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,6 +29,8 @@ 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");
@ -125,6 +127,7 @@ 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();
}
@ -133,6 +136,7 @@ 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,7 +1,5 @@
# FireWallet
Experimental wallet for Handshake chain
The newer python version is available [here](https://github.com/nathanwoodburn/firewalletbrowser)
Info about the project can be found at https://firewallet or https://firewallet.au
## Installation
### Dependencies
@ -177,10 +175,6 @@ 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).