This is the .Net SDK for Evernym's Verity application.
Instructions for setting up your .NET development environment to use the Verity SDK.
Install the following items:
-
.NET Core 3.1
-- Install .Net Core 3.1. Follow the instructions on the Microsoft website. -
libvdrtools
-- Installation instructions can be found here. -
Mono
-- Install Mono (if you are using Ubuntu or Mac). Follow instructions on the Mono website.
API Documentation (docfx):
Open terminal at location "\verity-sdk\sdk\dotnet-sdk"
Restore nuget-packages for project:
dotnet restore
Build SDK:
dotnet build --configuration release
Compiled files will be placed in "bin\release\netstandart2.0"
Build nuget-package:
dotnet pack --configuration release
Compiled files will be placed in "bin\release\Evernym.Verity.SDK.{version}.nupkg"
Run tests:
dotnet test --logger "console;verbosity=detailed"
Simply build the VeritySDK.sln file using Visual Studio, msbuild, dotnet or whatever build system your .NET implementation and platform supports. The unit-tests can be run using the 'dotnet test' command or by using Test Explorer in Visual Studio. The project also includes a NuGet package definition which can be built using the 'dotnet pack' command or by choosing publish on the project in Visual Studio.
The .NET SDK can be used in any .NET project by referencing the NuGet package which can be built using the instructions above or obtained from the nuget.org package repository.
For a sample project that contains executable demo code showing various usages of the .NET SDK see the .NET Sample.