Add HexHelpers
MODIFY
HiddenWallet.ChaumianTumbler/Controllers/TumblerController.cs
HiddenWallet.ChaumianTumbler/Controllers/TumblerController.cs
@@ -6,6 +6,7 @@ using Microsoft.AspNetCore.Mvc;
using HiddenWallet.SharedApi.Models;
using HiddenWallet.ChaumianTumbler.Models;
using HiddenWallet.ChaumianCoinJoin;
+using Org.BouncyCastle.Utilities.Encoders;
namespace HiddenWallet.ChaumianTumbler.Controllers
{
@@ -66,6 +67,13 @@ namespace HiddenWallet.ChaumianTumbler.Controllers
{
try
{
+ // Check format (parse everyting))
+ // Check if inputs are native segwit
+ // Check if proofs are valid
+ // Check if inputs have enough coins
+ // Check if inputs are unspent
+ // Check if inputs are confirmed or part of previous CoinJoin
+
throw new NotImplementedException();
}
catch (Exception ex)

MODIFY
HiddenWallet.ChaumianTumbler/Models/InputsRequest.cs
HiddenWallet.ChaumianTumbler/Models/InputsRequest.cs
@@ -8,6 +8,7 @@ namespace HiddenWallet.ChaumianTumbler.Models
public class InputsRequest
{
public InputProofModel[] Inputs { get; set; }
+ //
public string BlindedOutput { get; set; }
public string ChangeOutput { get; set; }
}

MODIFY
HiddenWallet/HiddenWallet.csproj
HiddenWallet/HiddenWallet.csproj
<LangVersion>latest</LangVersion>
</PropertyGroup>
- <ItemGroup>
- <Folder Include="Extensions\" />
- </ItemGroup>
-
<ItemGroup>
<PackageReference Include="ConcurrentHashSet" Version="1.0.2" />
<PackageReference Include="NBitcoin" Version="4.0.0.38" />

Add HexHelpers