Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 767 Bytes

File metadata and controls

41 lines (31 loc) · 767 Bytes

Sequence Java SDK

Usage

Get the jar

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>

In your code

import com.seq.api.*;
import com.seq.http.*;
import com.seq.exception.*;
...

Client ledger =
    new Client.Builder()
        .setLedgerName("my-ledger")
        .setCredential("...")
        .build();

Documentation

Comprehensive instructions and examples are available in the developer documentation.