mirror of
https://github.com/Nathanwoodburn/FireWallet.git
synced 2025-12-06 08:33:00 +11:00
Compare commits
15 Commits
v3.0
...
hip02remot
| Author | SHA1 | Date | |
|---|---|---|---|
|
de7109eddc
|
|||
|
1a98a6a1c6
|
|||
|
859562ac22
|
|||
|
0a5412478c
|
|||
|
90cc614ebf
|
|||
|
a024ce7afc
|
|||
|
88ee50f4a6
|
|||
|
23cbace1ea
|
|||
|
6894e9c079
|
|||
|
95d0498672
|
|||
|
88c6b5afe0
|
|||
|
f06bc5b711
|
|||
|
42536e47bb
|
|||
|
404a47ec79
|
|||
|
c3abd0b4de
|
@@ -465,7 +465,7 @@ namespace FireWallet
|
||||
HttpClient httpClient = new HttpClient();
|
||||
private async void buttonSend_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!mainForm.watchOnly)
|
||||
if (!mainForm.WatchOnly)
|
||||
{
|
||||
string batchTX = "[" + string.Join(", ", batches.Select(batch => batch.ToString())) + "]";
|
||||
string content = "{\"method\": \"sendbatch\",\"params\":[ " + batchTX + "]}";
|
||||
@@ -508,7 +508,7 @@ namespace FireWallet
|
||||
JObject result = JObject.Parse(jObject["result"].ToString());
|
||||
string hash = result["hash"].ToString();
|
||||
AddLog("Batch sent with hash: " + hash);
|
||||
NotifyForm notifyForm2 = new NotifyForm("Batch sent\nThis might take a while to mine.", "Explorer", mainForm.userSettings["explorer-tx"] + hash);
|
||||
NotifyForm notifyForm2 = new NotifyForm("Batch sent\nThis might take a while to mine.", "Explorer", mainForm.UserSettings["explorer-tx"] + hash);
|
||||
notifyForm2.ShowDialog();
|
||||
notifyForm2.Dispose();
|
||||
this.Close();
|
||||
@@ -552,7 +552,7 @@ namespace FireWallet
|
||||
proc.StartInfo.RedirectStandardError = true;
|
||||
proc.StartInfo.FileName = "node.exe";
|
||||
proc.StartInfo.WorkingDirectory = dir + "hsd-ledger/bin/";
|
||||
string args = "hsd-ledger/bin/hsd-ledger sendraw \"\"" + response.Replace("\"","\\\"") + "\"\" [" + domainslist + "] --api-key " + mainForm.nodeSettings["Key"] + " -w " + mainForm.account;
|
||||
string args = "hsd-ledger/bin/hsd-ledger sendraw \"\"" + response.Replace("\"","\\\"") + "\"\" [" + domainslist + "] --api-key " + mainForm.NodeSettings["Key"] + " -w " + mainForm.Account;
|
||||
|
||||
proc.StartInfo.Arguments = dir + args;
|
||||
var outputBuilder = new StringBuilder();
|
||||
@@ -578,7 +578,7 @@ namespace FireWallet
|
||||
if (output.Contains("Submitted TXID"))
|
||||
{
|
||||
string hash = output.Substring(output.IndexOf("Submitted TXID") + 16, 64);
|
||||
string link = mainForm.userSettings["explorer-tx"] + hash;
|
||||
string link = mainForm.UserSettings["explorer-tx"] + hash;
|
||||
NotifyForm notifySuccess = new NotifyForm("Transaction Sent\nThis transaction could take up to 20 minutes to mine",
|
||||
"Explorer", link);
|
||||
notifySuccess.ShowDialog();
|
||||
@@ -638,17 +638,45 @@ namespace FireWallet
|
||||
openFileDialog.Title = "Open Batch";
|
||||
if (openFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
StreamReader sr = new StreamReader(openFileDialog.FileName);
|
||||
string line;
|
||||
string[] domains = new string[0];
|
||||
while ((line = sr.ReadLine()) != null)
|
||||
try
|
||||
{
|
||||
string[] split = line.Split(',');
|
||||
try
|
||||
StreamReader sr = new StreamReader(openFileDialog.FileName);
|
||||
string line;
|
||||
string[] domains = new string[0];
|
||||
while ((line = sr.ReadLine()) != null)
|
||||
{
|
||||
if (split.Length > 2)
|
||||
string[] split = line.Split(',');
|
||||
try
|
||||
{
|
||||
if (split[1] == "UPDATE")
|
||||
if (split.Length > 2)
|
||||
{
|
||||
if (split[1] == "UPDATE")
|
||||
{
|
||||
// Select operation and import domains
|
||||
string[] newDomains = new string[domains.Length + 1];
|
||||
for (int i = 0; i < domains.Length; i++)
|
||||
{
|
||||
newDomains[i] = domains[i];
|
||||
}
|
||||
newDomains[domains.Length] = split[0];
|
||||
domains = newDomains;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (split.Length == 2)
|
||||
{
|
||||
AddBatch(split[0], split[1]);
|
||||
}
|
||||
else if (split.Length == 3)
|
||||
{
|
||||
AddBatch(split[0], split[1], split[2]);
|
||||
}
|
||||
else if (split.Length == 4)
|
||||
{
|
||||
AddBatch(split[0], split[1], Convert.ToDecimal(split[2]), Convert.ToDecimal(split[3]));
|
||||
}
|
||||
else
|
||||
{
|
||||
// Select operation and import domains
|
||||
string[] newDomains = new string[domains.Length + 1];
|
||||
@@ -656,68 +684,49 @@ namespace FireWallet
|
||||
{
|
||||
newDomains[i] = domains[i];
|
||||
}
|
||||
newDomains[domains.Length] = split[0];
|
||||
newDomains[domains.Length] = line.Trim();
|
||||
domains = newDomains;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (split.Length == 2)
|
||||
catch (Exception ex)
|
||||
{
|
||||
AddBatch(split[0], split[1]);
|
||||
}
|
||||
else if (split.Length == 3)
|
||||
{
|
||||
AddBatch(split[0], split[1], split[2]);
|
||||
}
|
||||
else if (split.Length == 4)
|
||||
{
|
||||
AddBatch(split[0], split[1], Convert.ToDecimal(split[2]), Convert.ToDecimal(split[3]));
|
||||
}
|
||||
else
|
||||
{
|
||||
// Select operation and import domains
|
||||
string[] newDomains = new string[domains.Length + 1];
|
||||
for (int i = 0; i < domains.Length; i++)
|
||||
{
|
||||
newDomains[i] = domains[i];
|
||||
}
|
||||
newDomains[domains.Length] = line.Trim();
|
||||
domains = newDomains;
|
||||
AddLog("Error importing batch: " + ex.Message);
|
||||
NotifyForm notifyForm = new NotifyForm("Error importing batch");
|
||||
notifyForm.ShowDialog();
|
||||
notifyForm.Dispose();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
if (domains.Length > 0)
|
||||
{
|
||||
AddLog("Error importing batch: " + ex.Message);
|
||||
NotifyForm notifyForm = new NotifyForm("Error importing batch");
|
||||
notifyForm.ShowDialog();
|
||||
notifyForm.Dispose();
|
||||
BatchImportForm batchImportForm = new BatchImportForm(domains);
|
||||
batchImportForm.ShowDialog();
|
||||
if (batchImportForm.batches != null)
|
||||
{
|
||||
foreach (Batch b in batchImportForm.batches)
|
||||
{
|
||||
if (b.method == "BID")
|
||||
{
|
||||
AddBatch(b.domain, b.method, b.bid, b.lockup);
|
||||
}
|
||||
else if (b.method == "TRANSFER")
|
||||
{
|
||||
AddBatch(b.domain, b.method, b.toAddress);
|
||||
}
|
||||
else
|
||||
{
|
||||
AddBatch(b.domain, b.method);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (domains.Length > 0)
|
||||
sr.Dispose();
|
||||
} catch (Exception ex)
|
||||
{
|
||||
BatchImportForm batchImportForm = new BatchImportForm(domains);
|
||||
batchImportForm.ShowDialog();
|
||||
if (batchImportForm.batches != null)
|
||||
{
|
||||
foreach (Batch b in batchImportForm.batches)
|
||||
{
|
||||
if (b.method == "BID")
|
||||
{
|
||||
AddBatch(b.domain, b.method, b.bid, b.lockup);
|
||||
}
|
||||
else if (b.method == "TRANSFER")
|
||||
{
|
||||
AddBatch(b.domain, b.method, b.toAddress);
|
||||
}
|
||||
else
|
||||
{
|
||||
AddBatch(b.domain, b.method);
|
||||
}
|
||||
}
|
||||
}
|
||||
AddLog("Error importing batch: " + ex.Message);
|
||||
NotifyForm notifyForm = new NotifyForm("Error importing batch\nMake sure the file is in not in use");
|
||||
notifyForm.ShowDialog();
|
||||
notifyForm.Dispose();
|
||||
}
|
||||
sr.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -730,10 +739,10 @@ namespace FireWallet
|
||||
/// <returns></returns>
|
||||
private async Task<string> APIPost(string path, bool wallet, string content)
|
||||
{
|
||||
string key = mainForm.nodeSettings["Key"];
|
||||
string ip = mainForm.nodeSettings["IP"];
|
||||
string key = mainForm.NodeSettings["Key"];
|
||||
string ip = mainForm.NodeSettings["IP"];
|
||||
string port = "1203";
|
||||
if (mainForm.network == 1)
|
||||
if (mainForm.HSDNetwork == 1)
|
||||
{
|
||||
port = "1303";
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace FireWallet
|
||||
InitializeComponent();
|
||||
this.domain = domain;
|
||||
this.mainForm = mainForm;
|
||||
nodeSettings = mainForm.nodeSettings;
|
||||
nodeSettings = mainForm.NodeSettings;
|
||||
|
||||
cancel = true;
|
||||
this.Text = domain + "/ DNS | FireWallet";
|
||||
@@ -439,7 +439,7 @@ namespace FireWallet
|
||||
string key = nodeSettings["Key"];
|
||||
string ip = nodeSettings["IP"];
|
||||
string port = "1203";
|
||||
if (mainForm.network == 1)
|
||||
if (mainForm.HSDNetwork == 1)
|
||||
{
|
||||
port = "1303";
|
||||
}
|
||||
@@ -478,7 +478,7 @@ namespace FireWallet
|
||||
string ip = nodeSettings["IP"];
|
||||
|
||||
string port = "1203";
|
||||
if (mainForm.network == 1)
|
||||
if (mainForm.HSDNetwork == 1)
|
||||
{
|
||||
port = "1303";
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace FireWallet
|
||||
this.explorerTX = explorerTX;
|
||||
this.explorerName = explorerName;
|
||||
this.mainForm = mainForm;
|
||||
this.theme = mainForm.theme;
|
||||
this.theme = mainForm.Theme;
|
||||
|
||||
// Apply theme
|
||||
this.BackColor = ColorTranslator.FromHtml(theme["background"]);
|
||||
@@ -47,7 +47,7 @@ namespace FireWallet
|
||||
mainForm.ThemeControl(c);
|
||||
}
|
||||
|
||||
applyTransparency(mainForm.theme);
|
||||
applyTransparency(mainForm.Theme);
|
||||
}
|
||||
#region Theme
|
||||
private void applyTransparency(Dictionary<string, string> theme)
|
||||
@@ -157,7 +157,7 @@ namespace FireWallet
|
||||
network = Convert.ToInt32(nodeSettings["Network"]);
|
||||
GetName();
|
||||
|
||||
if (mainForm.watchOnly)
|
||||
if (mainForm.WatchOnly)
|
||||
{
|
||||
buttonActionMain.Enabled = false; // Only allow sending in batches for ledger
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<PackageIcon>HSDBatcher.png</PackageIcon>
|
||||
<RepositoryUrl>https://github.com/Nathanwoodburn/FireWallet</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<Version>3.0</Version>
|
||||
<Version>3.1</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
49
FireWallet/MainForm.Designer.cs
generated
49
FireWallet/MainForm.Designer.cs
generated
@@ -95,6 +95,8 @@ namespace FireWallet
|
||||
textBoxReceiveAddress = new TextBox();
|
||||
labelReceive1 = new Label();
|
||||
panelDomains = new Panel();
|
||||
labelDomainSort = new Label();
|
||||
comboBoxDomainSort = new ComboBox();
|
||||
buttonExportDomains = new Button();
|
||||
groupBoxDomains = new GroupBox();
|
||||
panelDomainList = new Panel();
|
||||
@@ -122,6 +124,8 @@ namespace FireWallet
|
||||
textBoxExAddr = new TextBox();
|
||||
labelSettings4 = new Label();
|
||||
textBoxExTX = new TextBox();
|
||||
toolStripSeparator1 = new ToolStripSeparator();
|
||||
otherProjectsToolStripMenuItem = new ToolStripMenuItem();
|
||||
statusStripmain.SuspendLayout();
|
||||
panelaccount.SuspendLayout();
|
||||
groupBoxaccount.SuspendLayout();
|
||||
@@ -199,7 +203,7 @@ namespace FireWallet
|
||||
// toolStripDropDownButtonHelp
|
||||
//
|
||||
toolStripDropDownButtonHelp.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
||||
toolStripDropDownButtonHelp.DropDownItems.AddRange(new ToolStripItem[] { githubToolStripMenuItem, websiteToolStripMenuItem, supportDiscordServerToolStripMenuItem });
|
||||
toolStripDropDownButtonHelp.DropDownItems.AddRange(new ToolStripItem[] { githubToolStripMenuItem, websiteToolStripMenuItem, supportDiscordServerToolStripMenuItem, toolStripSeparator1, otherProjectsToolStripMenuItem });
|
||||
toolStripDropDownButtonHelp.Image = (Image)resources.GetObject("toolStripDropDownButtonHelp.Image");
|
||||
toolStripDropDownButtonHelp.ImageTransparentColor = Color.Magenta;
|
||||
toolStripDropDownButtonHelp.Margin = new Padding(20, 2, 0, 0);
|
||||
@@ -783,6 +787,8 @@ namespace FireWallet
|
||||
//
|
||||
// panelDomains
|
||||
//
|
||||
panelDomains.Controls.Add(labelDomainSort);
|
||||
panelDomains.Controls.Add(comboBoxDomainSort);
|
||||
panelDomains.Controls.Add(buttonRenewAll);
|
||||
panelDomains.Controls.Add(buttonExportDomains);
|
||||
panelDomains.Controls.Add(groupBoxDomains);
|
||||
@@ -794,6 +800,29 @@ namespace FireWallet
|
||||
panelDomains.TabIndex = 18;
|
||||
panelDomains.Visible = false;
|
||||
//
|
||||
// labelDomainSort
|
||||
//
|
||||
labelDomainSort.AutoSize = true;
|
||||
labelDomainSort.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
||||
labelDomainSort.Location = new Point(638, 15);
|
||||
labelDomainSort.Name = "labelDomainSort";
|
||||
labelDomainSort.Size = new Size(42, 21);
|
||||
labelDomainSort.TabIndex = 12;
|
||||
labelDomainSort.Text = "Sort:";
|
||||
//
|
||||
// comboBoxDomainSort
|
||||
//
|
||||
comboBoxDomainSort.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
comboBoxDomainSort.FlatStyle = FlatStyle.Flat;
|
||||
comboBoxDomainSort.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
||||
comboBoxDomainSort.FormattingEnabled = true;
|
||||
comboBoxDomainSort.Items.AddRange(new object[] { "Default", "Alphabetical", "Expiring", "Value" });
|
||||
comboBoxDomainSort.Location = new Point(686, 12);
|
||||
comboBoxDomainSort.Name = "comboBoxDomainSort";
|
||||
comboBoxDomainSort.Size = new Size(121, 29);
|
||||
comboBoxDomainSort.TabIndex = 11;
|
||||
comboBoxDomainSort.DropDownClosed += comboBoxDomainSort_DropDownClosed;
|
||||
//
|
||||
// buttonExportDomains
|
||||
//
|
||||
buttonExportDomains.FlatStyle = FlatStyle.Flat;
|
||||
@@ -1064,17 +1093,29 @@ namespace FireWallet
|
||||
textBoxExTX.Size = new Size(307, 29);
|
||||
textBoxExTX.TabIndex = 1;
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
toolStripSeparator1.Size = new Size(191, 6);
|
||||
//
|
||||
// otherProjectsToolStripMenuItem
|
||||
//
|
||||
otherProjectsToolStripMenuItem.Name = "otherProjectsToolStripMenuItem";
|
||||
otherProjectsToolStripMenuItem.Size = new Size(194, 22);
|
||||
otherProjectsToolStripMenuItem.Text = "Other Projects";
|
||||
otherProjectsToolStripMenuItem.Click += otherProjectsToolStripMenuItem_Click;
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(1152, 575);
|
||||
Controls.Add(panelDomains);
|
||||
Controls.Add(panelSend);
|
||||
Controls.Add(panelSettings);
|
||||
Controls.Add(panelaccount);
|
||||
Controls.Add(panelPortfolio);
|
||||
Controls.Add(panelRecieve);
|
||||
Controls.Add(panelDomains);
|
||||
Controls.Add(panelNav);
|
||||
Controls.Add(statusStripmain);
|
||||
Icon = (Icon)resources.GetObject("$this.Icon");
|
||||
@@ -1205,5 +1246,9 @@ namespace FireWallet
|
||||
private ToolStripMenuItem supportDiscordServerToolStripMenuItem;
|
||||
private Label labelHIPArrow;
|
||||
private Label labelSendingHIPAddress;
|
||||
private ComboBox comboBoxDomainSort;
|
||||
private Label labelDomainSort;
|
||||
private ToolStripSeparator toolStripSeparator1;
|
||||
private ToolStripMenuItem otherProjectsToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -27,7 +27,7 @@ namespace FireWallet
|
||||
private void NewAccountForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
page = 0;
|
||||
Dictionary<string, string> theme = mainForm.theme;
|
||||
Dictionary<string, string> theme = mainForm.Theme;
|
||||
this.BackColor = ColorTranslator.FromHtml(theme["background"]);
|
||||
this.ForeColor = ColorTranslator.FromHtml(theme["foreground"]);
|
||||
foreach (Control c in Controls)
|
||||
@@ -208,7 +208,7 @@ namespace FireWallet
|
||||
proc.StartInfo.UseShellExecute = false;
|
||||
proc.StartInfo.RedirectStandardError = true;
|
||||
proc.StartInfo.FileName = "node.exe";
|
||||
proc.StartInfo.Arguments = mainForm.dir + "hsd-ledger/bin/hsd-ledger createwallet " + textBoxNewPass1.Text + " --api-key " + mainForm.nodeSettings["Key"];
|
||||
proc.StartInfo.Arguments = mainForm.dir + "hsd-ledger/bin/hsd-ledger createwallet " + textBoxNewPass1.Text + " --api-key " + mainForm.NodeSettings["Key"];
|
||||
var outputBuilder = new StringBuilder();
|
||||
|
||||
// Event handler for capturing output data
|
||||
@@ -243,10 +243,10 @@ namespace FireWallet
|
||||
HttpClient httpClient = new HttpClient();
|
||||
private async Task<string> APIPut(string path, bool wallet, string content)
|
||||
{
|
||||
string key = mainForm.nodeSettings["Key"];
|
||||
string ip = mainForm.nodeSettings["IP"];
|
||||
string key = mainForm.NodeSettings["Key"];
|
||||
string ip = mainForm.NodeSettings["IP"];
|
||||
string port = "1203";
|
||||
if (mainForm.network == 1)
|
||||
if (mainForm.HSDNetwork == 1)
|
||||
{
|
||||
port = "1303";
|
||||
}
|
||||
|
||||
11
FireWallet/SplashScreen.Designer.cs
generated
11
FireWallet/SplashScreen.Designer.cs
generated
@@ -28,21 +28,13 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SplashScreen));
|
||||
timerSplashDelay = new System.Windows.Forms.Timer(components);
|
||||
label1 = new Label();
|
||||
pictureBox1 = new PictureBox();
|
||||
label2 = new Label();
|
||||
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// timerSplashDelay
|
||||
//
|
||||
timerSplashDelay.Enabled = true;
|
||||
timerSplashDelay.Interval = 3000;
|
||||
timerSplashDelay.Tick += timerSplashDelay_Tick;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
@@ -91,7 +83,6 @@
|
||||
ShowInTaskbar = false;
|
||||
StartPosition = FormStartPosition.CenterScreen;
|
||||
Text = "FireWallet";
|
||||
TopMost = true;
|
||||
FormClosing += SplashScreen_FormClosing;
|
||||
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
||||
ResumeLayout(false);
|
||||
@@ -99,8 +90,6 @@
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Timer timerSplashDelay;
|
||||
private Label label1;
|
||||
private PictureBox pictureBox1;
|
||||
private Label label2;
|
||||
|
||||
@@ -13,23 +13,25 @@ namespace FireWallet
|
||||
{
|
||||
public partial class SplashScreen : Form
|
||||
{
|
||||
public SplashScreen()
|
||||
public SplashScreen(bool timer)
|
||||
{
|
||||
InitializeComponent();
|
||||
close = false;
|
||||
}
|
||||
bool close;
|
||||
private void timerSplashDelay_Tick(object sender, EventArgs e)
|
||||
private void SplashScreen_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (!close)
|
||||
{
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
public void CloseSplash()
|
||||
{
|
||||
close = true;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void SplashScreen_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void label2_Click(object sender, EventArgs e)
|
||||
{
|
||||
ProcessStartInfo psi = new ProcessStartInfo
|
||||
|
||||
@@ -117,9 +117,6 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="timerSplashDelay.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
|
||||
@@ -22,8 +22,8 @@ namespace FireWallet
|
||||
{
|
||||
InitializeComponent();
|
||||
// Theme
|
||||
this.BackColor = ColorTranslator.FromHtml(mainForm.theme["background"]);
|
||||
this.ForeColor = ColorTranslator.FromHtml(mainForm.theme["foreground"]);
|
||||
this.BackColor = ColorTranslator.FromHtml(mainForm.Theme["background"]);
|
||||
this.ForeColor = ColorTranslator.FromHtml(mainForm.Theme["foreground"]);
|
||||
foreach (Control c in Controls)
|
||||
{
|
||||
mainForm.ThemeControl(c);
|
||||
@@ -35,7 +35,7 @@ namespace FireWallet
|
||||
|
||||
private async void TXForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
tx = JObject.Parse(await mainForm.APIGet("wallet/"+mainForm.account+"/tx/" + txid,true));
|
||||
tx = JObject.Parse(await mainForm.APIGet("wallet/"+mainForm.Account+"/tx/" + txid,true));
|
||||
|
||||
this.Text = "TX: " + tx["hash"].ToString();
|
||||
labelHash.Text = "Hash: " + tx["hash"].ToString();
|
||||
@@ -142,7 +142,7 @@ namespace FireWallet
|
||||
private void Explorer_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Open the transaction in a browser
|
||||
string url = mainForm.userSettings["explorer-tx"] + tx["hash"].ToString();
|
||||
string url = mainForm.UserSettings["explorer-tx"] + tx["hash"].ToString();
|
||||
ProcessStartInfo psi = new ProcessStartInfo
|
||||
{
|
||||
FileName = url,
|
||||
|
||||
@@ -25,18 +25,18 @@ namespace FireWallet
|
||||
Domain = domain;
|
||||
this.Text = "Transfer " + Domain + " | FireWallet";
|
||||
label1.Text = "Transfer " + Domain;
|
||||
if (MainForm.theme.ContainsKey("error"))
|
||||
if (MainForm.Theme.ContainsKey("error"))
|
||||
{
|
||||
labelError.ForeColor = ColorTranslator.FromHtml(MainForm.theme["error"]);
|
||||
labelError.ForeColor = ColorTranslator.FromHtml(MainForm.Theme["error"]);
|
||||
}
|
||||
if (MainForm.watchOnly)
|
||||
if (MainForm.WatchOnly)
|
||||
{
|
||||
buttonTransfer.Enabled = false; // watch only wallet only batch
|
||||
}
|
||||
|
||||
// Theme
|
||||
this.BackColor = ColorTranslator.FromHtml(MainForm.theme["background"]);
|
||||
this.ForeColor = ColorTranslator.FromHtml(MainForm.theme["foreground"]);
|
||||
this.BackColor = ColorTranslator.FromHtml(MainForm.Theme["background"]);
|
||||
this.ForeColor = ColorTranslator.FromHtml(MainForm.Theme["foreground"]);
|
||||
foreach (Control c in Controls)
|
||||
{
|
||||
MainForm.ThemeControl(c);
|
||||
@@ -73,7 +73,7 @@ namespace FireWallet
|
||||
}
|
||||
JObject result = JObject.Parse(APIresp["result"].ToString());
|
||||
string hash = result["hash"].ToString();
|
||||
string link = MainForm.userSettings["explorer-tx"] + hash;
|
||||
string link = MainForm.UserSettings["explorer-tx"] + hash;
|
||||
NotifyForm notifySuccess = new NotifyForm("Transaction Sent\nThis transaction could take up to 20 minutes to mine",
|
||||
"Explorer", link);
|
||||
notifySuccess.ShowDialog();
|
||||
|
||||
@@ -224,15 +224,15 @@
|
||||
{
|
||||
"Name" = "8:Microsoft Visual Studio"
|
||||
"ProductName" = "8:FireWallet"
|
||||
"ProductCode" = "8:{007B0A5E-57B9-4DB7-AABE-5A3631A89BEB}"
|
||||
"PackageCode" = "8:{546D4209-3E58-4144-A9DC-E659A2482DD4}"
|
||||
"ProductCode" = "8:{460D8F86-4FE9-4547-9B17-7E01ACBF9194}"
|
||||
"PackageCode" = "8:{A6678F97-9CE8-4005-82AC-AB2D09A9DA27}"
|
||||
"UpgradeCode" = "8:{0C86F725-6B01-4173-AA05-3F0EDF481362}"
|
||||
"AspNetVersion" = "8:"
|
||||
"RestartWWWService" = "11:FALSE"
|
||||
"RemovePreviousVersions" = "11:TRUE"
|
||||
"DetectNewerInstalledVersion" = "11:TRUE"
|
||||
"InstallAllUsers" = "11:FALSE"
|
||||
"ProductVersion" = "8:3.0"
|
||||
"ProductVersion" = "8:3.1"
|
||||
"Manufacturer" = "8:Nathan.Woodburn/"
|
||||
"ARPHELPTELEPHONE" = "8:"
|
||||
"ARPHELPLINK" = "8:https://l.woodburn.au/discord"
|
||||
|
||||
13
README.md
13
README.md
@@ -2,6 +2,14 @@
|
||||
Experimental wallet for Handshake chain
|
||||
|
||||
## Installation
|
||||
### Dependencies
|
||||
You will need .net desktop installed. You can download it from [here](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-6.0.18-windows-x64-installer).
|
||||
|
||||
You will also need Node, NPM, and git installed if you want to use the internal HSD or Ledger wallets.
|
||||
[Git](https://git-scm.com/downloads)
|
||||
[Node](https://nodejs.org/en/download/)
|
||||
[NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
|
||||
|
||||
### From Releases
|
||||
You can install the latest release from [here](https://github.com/Nathanwoodburn/FireWallet/releases/).
|
||||
|
||||
@@ -60,6 +68,9 @@ You can change the number of transactions shown in the `portfolio-tx:` settings.
|
||||
<br><br>
|
||||
## Sending HNS
|
||||

|
||||
This page lets you send HNS to Handshake addresses or domains using [HIP-02](https://github.com/handshake-org/HIPs/blob/master/HIP-0002.md).
|
||||
To use HIP-02 you need to have HSD resolver (or any HNS compatible DNS resolver) listening on port 5350 (default HSD port).
|
||||
To enter a domain to use HIP-02 you need to prefix the domain with `@` (eg. `@nathan.woodburn`).
|
||||
|
||||
## Receiving HNS or Domains
|
||||
The receive page shows your current HNS address.
|
||||
@@ -104,6 +115,8 @@ The "CANCEL" transaction type is used to cancel an transfer.
|
||||
|
||||
At the momemt "UPDATE" or coin only transactions are not supported.
|
||||
|
||||
|
||||
Please not that the import syntax for BIDs is BID,LOCKUP where LOCKUP is (BID+BLIND)
|
||||

|
||||
|
||||
## Exporting
|
||||
|
||||
Reference in New Issue
Block a user