Skip to main content



Password Storage

Never store passwords or seeds on a host's environment variables or in the source code in a production setup. Please follow our backup and security recommendations for production use.

IOTA Client Java Library

Get started with the official IOTA Client Java Library.


Minimum Java version: Java 8

Use in your Android project (Android Studio)

  1. Add following dependency to your build.gradle file:
implementation 'org.iota:iota-client:1.0.0-rc.1'
  1. Download the file from the GitHub release and unzip it.
  2. Add the jniLibs folder with its contents to your Android Studio project as shown below:
| └── *.jar <-- if your library has jar files, they go here
└── main/
├── AndroidManifest.xml
├── java/
└── jniLibs/
├── arm64-v8a/ <-- ARM 64bit
│ └──
│ └──
├── armeabi-v7a/ <-- ARM 32bit
│ └──
│ └──
└── x86/ <-- Intel 32bit

Use in your Java project (Linux, macOS, Windows)

Depending on your operating system, add one of the following dependencies to your build.gradle file:


implementation 'org.iota:iota-client:1.0.0-rc.1:linux-x86_64'


implementation 'org.iota:iota-client:1.0.0-rc.1:windows-x86_64'


implementation 'org.iota:iota-client:1.0.0-rc.1:aarch64-apple-darwin'


implementation 'org.iota:iota-client:1.0.0-rc.1:osx-x86_64'

Try the library

In order to try with the library, create a Client instance:

import org.iota.Client;
import org.iota.types.ClientConfig;
import org.iota.types.expections.InitializeClientException;
import org.iota.types.expections.ClientException;
import org.iota.types.responses.NodeInfoResponse;

public class HelloWorld {
public static void main(String[] args) throws InitializeClientException, ClientException {
// Build the client.
Client client = new Client(new ClientConfig().withNodes(new String[]{""}));

// Get the node information for a given node.
NodeInfoResponse response = client.getNodeInfo();

// Print the URL of the node that was requested.

// Print the node information for the requested node.

What's Next?

Now that you are up and running, you can get acquainted with the library using its how-to guides and the repository's code examples.