Skip to content

chain/sequence-sdk-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.