Skip to content

Latest commit

 

History

History
70 lines (43 loc) · 2.1 KB

README.md

File metadata and controls

70 lines (43 loc) · 2.1 KB

.NET Verity SDK

This is the .Net SDK for Evernym's Verity application.

Instructions for setting up your .NET development environment to use the Verity SDK.

Prerequisites

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.

Documentation

API Documentation (docfx):

How to build

Ubuntu based distributions (Ubuntu 18.04)

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"

Windows

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.

Using the SDK

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.

Example use

For a sample project that contains executable demo code showing various usages of the .NET SDK see the .NET Sample.