Wickra.Proof 0.1.2

dotnet add package Wickra.Proof --version 0.1.2
                    
NuGet\Install-Package Wickra.Proof -Version 0.1.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Wickra.Proof" Version="0.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Wickra.Proof" Version="0.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Wickra.Proof" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Wickra.Proof --version 0.1.2
                    
#r "nuget: Wickra.Proof, 0.1.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Wickra.Proof@0.1.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Wickra.Proof&version=0.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Wickra.Proof&version=0.1.2
                    
Install as a Cake Tool

Wickra Proof — C#

The deterministic Proof-of-Backtest core for .NET over the Wickra C ABI hub.

Wickra Proof folds a (spec, data) pair into a deterministic wickra-backtest report and a canonical blake3 hash that anyone recomputes byte-for-byte in ten languages. This package is the C# binding: it P/Invokes the C ABI hub and exposes a stateless Prover with the same JSON protocol as every other binding.

Install

dotnet add package Wickra.Proof

The package bundles the prebuilt native C ABI library for every supported runtime (win-x64, win-arm64, linux-x64, linux-arm64, osx-x64, osx-arm64) under runtimes/<rid>/native/, resolved automatically at run time.

Quick start

using Wickra.Proof;

using var prover = new Prover();

string cmd = """
{"cmd":"prove","spec":{"strategy":{...},"dataset_ref":"BTCUSDT/1h"},
 "data":{"BTCUSDT":[{"time":1,"open":100,"high":101,"low":99,"close":100,"volume":1000}]}}
""";

string proof = prover.Command(cmd);
// {"engine_version":"…","inputs_hash":"…","report":…,"report_hash":"…"}

Console.WriteLine(Prover.Version());

Commands

Command Payload Response
prove {spec, data} {report, inputs_hash, report_hash, engine_version}
verify {proof, spec, data} {ok: true, valid: bool}
canonicalize {value} {ok: true, canonical}
version {engine_version}

Domain errors are reported in-band as {"ok":false,"error":"…"}.

Building from this repository (contributors)

cargo build -p wickra-proof-c --release
dotnet test bindings/csharp/WickraProof.Tests

The DllImportResolver probes the app directory, the packaged runtimes/<rid>/native/, and the Cargo target/{release,debug}/ tree, validating each candidate with a sentinel export so a stale library is rejected.

License

Dual-licensed under MIT or Apache-2.0, at your option.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.2 27 9/13/2026
0.1.1 32 9/13/2026
0.1.0 47 9/13/2026