Create HwiClient.
ADD
WalletWasabi.Tests/HwiTests/HwiClientTests.cs
+using NBitcoin;
+using System;
+using System.Collections.Generic;
+using System.Text;
+using WalletWasabi.Hwi2;
+using Xunit;
+
+namespace WalletWasabi.Tests.HwiTests
+{
+ public class HwiClientTests
+ {
+ [Theory]
+ [InlineData("Main")]
+ [InlineData("TestNet")]
+ [InlineData("RegTest")]
+ public void CanCreateHwiClient(string networkString)
+ {
+ var network = Network.GetNetwork(networkString);
+ new HwiClient(network);
+ }
+ }
+}

ADD
WalletWasabi/Hwi2/HwiClient.cs
+using NBitcoin;
+using System;
+using System.Collections.Generic;
+using System.Text;
+using WalletWasabi.Helpers;
+
+namespace WalletWasabi.Hwi2
+{
+ public class HwiClient
+ {
+ public Network Network { get; }
+
+ public HwiClient(Network network)
+ {
+ Network = Guard.NotNull(nameof(network), network);
+ }
+ }
+}

Create HwiClient.