The Sequence SDK is available via maven. Java 8, 9, and 10 are supported.
Add the following to your pom.xml
:
<dependency>
<groupId>com.seq</groupId>
<artifactId>sequence-sdk</artifactId>
<version>[2.2,3)</version>
</dependency>
import com.seq.api.*;
import com.seq.http.*;
import com.seq.exception.*;
...
Client ledger =
new Client.Builder()
.setLedgerName("my-ledger")
.setCredential("...")
.build();
Comprehensive instructions and examples are available in the developer documentation.