Implement generate logic
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -29,6 +29,8 @@ namespace WalletWasabi.Gui
}
}
+ public static string WalletsDir => Path.Combine(DataDir, "Wallets");
+
public static string AddressManagerFilePath { get; private set; }
public static AddressManager AddressManager { get; private set; }
public static MemPoolService MemPoolService { get; private set; }

MODIFY
WalletWasabi.Gui/Shell/Commands/HelpCommands.cs
WalletWasabi.Gui/Shell/Commands/HelpCommands.cs
@@ -3,10 +3,12 @@ using Avalonia.Diagnostics;
using AvalonStudio.Commands;
using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
+using NBitcoin;
using ReactiveUI;
using System.Linq;
using System.Reactive.Linq;
using WalletWasabi.Gui.Tabs;
+using WalletWasabi.KeyManagement;
namespace WalletWasabi.Gui.Shell.Commands
{
@@ -33,12 +35,14 @@ namespace WalletWasabi.Gui.Shell.Commands
}));
PrivacyPolicyCommand = new CommandDefinition(
- "Privacy Policy", null, ReactiveCommand.Create(() => {
+ "Privacy Policy", null, ReactiveCommand.Create(() =>
+ {
IoC.Get<IShell>().AddDocument(new PrivacyPolicyViewModel());
}));
TermsAndConditionsCommand = new CommandDefinition(
- "Terms and Conditions", null, ReactiveCommand.Create(() => {
+ "Terms and Conditions", null, ReactiveCommand.Create(() =>
+ {
IoC.Get<IShell>().AddDocument(new TermsAndConditionsViewModel());
}));

Implement generate logic