Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.59 KB

README.md

File metadata and controls

50 lines (36 loc) · 1.59 KB

Java Verity SDK

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

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

Prerequisites

Install the following items:

  • libvdrtools -- Installation instructions can be found here.

NOTE: Verify that you have read access to the Public Sovrin Maven repo.

Get Latest Java Verity SDK

See maven artifact page to find the latest release.

Add verity-sdk as a dependency to your desired build tool.

Example: Maven

<dependency>
  <groupId>com.evernym.verity</groupId>
  <artifactId>verity-sdk</artifactId>
  <version>0.6.0</version>
</dependency>

Documentation

API Documentation (JavaDoc):

Develop the Java Verity SDK

Development Prerequisites

Build

mvn install

Dealing with NullPointerException

In some situations developers may run into nullPointerExceptions when using Verity-SDK. These can occur for the following reasons:

  1. The correct version of VDR Tools is not installed. Please ensure that you have the latest version of libvdrtools installed on your system.
  2. Your /tmp directory has been mounted noexec. To rectify this, change the exec command to
mvn exec:java -Djava.io.tmpdir=$PWD/target 

Hack away