> ## Documentation Index
> Fetch the complete documentation index at: https://community.pqabelian.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Abelian Java SDK

> Install the Abelian Java SDK, review supported platforms and dependencies, run the included demos, and learn how accounts and transactions fit together.

The Abelian Java SDK is a library that allows developers to interact with the Abelian blockchain. It provides a simple way to connect to the Abelian network, query the state of the blockchain, decode privacy-proteced data of managed accounts, and send transactions.

## 1. System requirements

The Abelian Java SDK supports the following platforms:

* Linux x86
* Linux arm64
* MacOS x86
* MacOS arm64 (Apple Silicon)

The system requirements are as follows:

* Java 8 or later
* OpenSSL 1.1.1 or later (on Linux only)

On macOS x86/arm86 platforms, the SDK only requires Java 8 or later. On Linux platforms, the SDK also requires OpenSSL 3 or later to be installed.

## 2. Getting started with the SDK demo

Before using the SDK in your own project, you can try the SDK demos to get a sense of how the SDK works. The SDK demos is packed as a standalone package containing all jar dependencies. You can download the demos package `abel4j-demo-x.y.z.zip` from the [release page](https://github.com/pqabelian/abelian-sdk-java/releases) of this repository.

For detailed walkthroughs, see [Understanding the Abelian Java SDK by Demos](https://community.pqabelian.io/en/build/java-sdk/demo.md).

## 3. Using the SDK in your project

To use the Abelian Java SDK in your project, you need to add the single JAR file `abel4j-x.y.z.jar` along with the required dependencies to your project. The SDK JAR file can be either downloaded from the [release page](https://github.com/pqabelian/abelian-sdk-java/releases) or built from the source code.

The SDK requires the following dependencies:

* `net.java.dev.jna:jna:5.13.0`
* `com.google.protobuf:protobuf-java:3.21.12`
* `org.apache.httpcomponents.client5:httpclient5-fluent:5.2.1`
* `com.fasterxml.jackson.core:jackson-databind:2.14.2`
* `org.slf4j:slf4j-api:2.0.6`
* `org.slf4j:slf4j-simple:2.0.6`

## 4. Building the SDK from source code

To build the SDK from source code, simply run `make` in the root directory of the repository. The distribution packages will be created in the `abel4j-demo/build` directory. To clean up the build, run `make clean`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.