Install HWI with Wasabi
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -20,6 +20,7 @@ using WalletWasabi.Crypto;
using WalletWasabi.Gui.Dialogs;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Helpers;
+using WalletWasabi.Hwi;
using WalletWasabi.KeyManagement;
using WalletWasabi.Logging;
using WalletWasabi.Models;
@@ -283,6 +284,15 @@ namespace WalletWasabi.Gui
Synchronizer.Start(requestInterval, TimeSpan.FromMinutes(5), maxFiltSyncCount);
Logger.LogInfo("Start synchronizing filters...");
+
+ try
+ {
+ await HwiProcessManager.EnsureHwiInstalledAsync(DataDir);
+ }
+ catch (Exception ex)
+ {
+ Logger.LogError(ex, nameof(Global));
+ }
}
private static CancellationTokenSource CancelWalletServiceInitialization = null;

ADD
WalletWasabi/Hwi/Software/hwi-linux64.zip
WalletWasabi/Hwi/Software/hwi-linux64.zip
Binary files /dev/null and b/WalletWasabi/Hwi/Software/hwi-linux64.zip differ

ADD
WalletWasabi/Hwi/Software/hwi-osx64.zip
WalletWasabi/Hwi/Software/hwi-osx64.zip
Binary files /dev/null and b/WalletWasabi/Hwi/Software/hwi-osx64.zip differ

ADD
WalletWasabi/Hwi/Software/hwi-win64.zip
WalletWasabi/Hwi/Software/hwi-win64.zip
Binary files /dev/null and b/WalletWasabi/Hwi/Software/hwi-win64.zip differ

MODIFY
WalletWasabi/TorSocks5/TorProcessManager.cs
WalletWasabi/TorSocks5/TorProcessManager.cs
@@ -175,7 +175,7 @@ namespace WalletWasabi.TorSocks5
{
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
- string torLinuxZip = torLinuxZip = Path.Combine(torDaemonsDir, "tor-linux64.zip");
+ string torLinuxZip = Path.Combine(torDaemonsDir, "tor-linux64.zip");
IoHelpers.BetterExtractZipToDirectoryAsync(torLinuxZip, torDir).GetAwaiter().GetResult();
Logger.LogInfo<TorProcessManager>($"Extracted {torLinuxZip} to {torDir}.");
}

MODIFY
WalletWasabi/WalletWasabi.csproj
WalletWasabi/WalletWasabi.csproj
</ItemGroup>
<ItemGroup>
+ <None Update="Hwi\Software\hwi-linux64.zip">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
+ <None Update="Hwi\Software\hwi-osx64.zip">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
+ <None Update="Hwi\Software\hwi-win64.zip">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
<None Update="TorDaemons\data-folder.zip">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>

Install HWI with Wasabi