Tatum API client

Tatum API client allows Java projects to interact with Tatum API.

License

License

Categories

Categories

Java Languages
GroupId

GroupId

io.tatum
ArtifactId

ArtifactId

tatum-java
Last Version

Last Version

1.0.9
Release Date

Release Date

Type

Type

jar
Description

Description

Tatum API client
Tatum API client allows Java projects to interact with Tatum API.
Project URL

Project URL

https://tatum.io/
Source Code Management

Source Code Management

https://github.com/tatumio/tatum-java/tree/master

Download tatum-java

How to add to project

<!-- https://jarcasting.com/artifacts/io.tatum/tatum-java/ -->
<dependency>
    <groupId>io.tatum</groupId>
    <artifactId>tatum-java</artifactId>
    <version>1.0.9</version>
</dependency>
// https://jarcasting.com/artifacts/io.tatum/tatum-java/
implementation 'io.tatum:tatum-java:1.0.9'
// https://jarcasting.com/artifacts/io.tatum/tatum-java/
implementation ("io.tatum:tatum-java:1.0.9")
'io.tatum:tatum-java:jar:1.0.9'
<dependency org="io.tatum" name="tatum-java" rev="1.0.9">
  <artifact name="tatum-java" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.tatum', module='tatum-java', version='1.0.9')
)
libraryDependencies += "io.tatum" % "tatum-java" % "1.0.9"
[io.tatum/tatum-java "1.0.9"]

Dependencies

compile (20)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.4.10
org.danilopianini : khttp jar 0.1.0-dev1j+7559632
com.fasterxml.jackson.module : jackson-module-kotlin jar 2.10.3
com.fasterxml.jackson.datatype : jackson-datatype-jsr310 jar 2.10.3
org.json : json jar 20200518
com.konghq : unirest-objectmapper-jackson jar 2.3.08
com.github.komputing » kethereum jar 0.83.0
com.github.komputing » kbip44 jar 0.1
com.github.komputing.kethereum » crypto_impl_bouncycastle jar 0.81.4
org.bouncycastle : bcprov-jdk15on jar 1.66
com.madgag.spongycastle : core jar 1.58.0.0
com.github.komputing.khash » sha256 jar 1.0.0-RC5
com.github.komputing.khash » ripemd160 jar 1.0.0-RC5
com.github.komputing » kbase58 jar 0.1
com.github.komputing.khex » core jar 1.0.0-RC6
com.github.komputing.khex » extensions jar 1.0.0-RC6
com.github.komputing » Khash jar 1.0.0-RC5
javax.validation : validation-api jar 2.0.0.Final
javax.el : javax.el-api jar 3.0.0
org.glassfish.web : javax.el jar 2.2.6

runtime (1)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-reflect jar 1.4.10

test (5)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.5.2
org.junit.jupiter : junit-jupiter-params jar 5.5.2
org.assertj : assertj-core jar 3.15.0
io.mockk : mockk jar 1.9.3.kotlin12
commons-codec : commons-codec jar 1.13

Project Modules

There are no modules declared in this project.

tatum-java

To use Tatum library in your project, first you need to add a repository section in your Maven's pom.xml file

<repositories>
    <!-- ... some other repository definitions -->

    <repository>
      <id>repsy</id>
      <name>Tatumio Maven Repositoty on Repsy</name>
      <url>https://repo.repsy.io/mvn/tatumio/tatumio</url>
    </repository>
  </repositories>

then add following dependency

<dependencies>
  <!-- ... some other dependency definitions -->

  <dependency>
    <groupId>io.tatum</groupId>
    <artifactId>tatum-java</artifactId>
    <version>2.0.0</version>
  </dependency>
</dependencies>

Library provides you these main blockchain functionalities:

  • BIP39 - creating/validating mnemonic, convertion to seed
  • BIP32 - wallets creation, private key, xpub, xprv, adresses creation
  • signing/sending blockchain transactions, checking transactions,...
  • BONUS offchain creating and managing users for your own applications

Add your Tatum API-key to your IDE environment variables (or your system variables). Key name has to be TATUM_API_KEY, value is actual token.

Examples:

TATUM_API_KEY=replace-with-your-tatum-token

TATUM_API_KEY=01234ab6-78cd-910e-f111-2g1314151617

If you plan to run tatum-java tests, for some tests the FAUCET_MNEMONIC environment variable has to be provided. This mnemonic should contain some funds at index 0 address to be able to successfully send coins in tests.

Example:

FAUCET_MNEMONIC=surprise ship father sunset hole dizzy must grocery crazy slogan lawsuit special able input jump

Versions

Version
1.0.9
1.0.8
1.0.7
1.0.6
1.0.4
1.0.1
1.0.0