For the complete documentation index, see llms.txt. This page is also available as Markdown.

Java SDK

The official Java SDK for the Crypto Chief crypto processing API — accept payments, send payouts, sign transactions, and verify webhooks across 25+ chains.

The official pure-Java client for the Crypto Chief crypto processing API. No Kotlin runtime, no reactive bridges — straightforward synchronous API with records, builders, and OkHttp. One dependency gives you typed access to payments, payouts, on-chain transactions, wallets, and webhooks across 25+ chains.

Maven Central

Requirements

  • JDK 17+ at runtime

  • A Crypto Chief Merchant ID and API key (Dashboard → Integration)

Installation

<dependency>
  <groupId>com.crypto-chief</groupId>
  <artifactId>cryptochief-crypto-processing-java</artifactId>
  <version>0.1.0</version>
</dependency>
dependencies {
    implementation("com.crypto-chief:cryptochief-crypto-processing-java:0.1.0")
}
dependencies {
    implementation 'com.crypto-chief:cryptochief-crypto-processing-java:0.1.0'
}

The SDK is synchronous and records-first — every DTO is a Java 17 record, services expose plain blocking methods, and the only runtime dependencies are OkHttp and Jackson.

Quickstart

import com.cryptochief.processing.Chain;
import com.cryptochief.processing.CryptoChiefClient;
import com.cryptochief.processing.models.EstimatePayoutRequest;

public class App {
    public static void main(String[] args) {
        try (CryptoChiefClient client = CryptoChiefClient.create("MERCHANT_ID", "API_KEY")) {
            var est = client.payouts().estimate(
                EstimatePayoutRequest.of(Chain.ETH_SEPOLIA, "ETH", "0.0001", "0xRecipient..."));
            System.out.println("amount to receive: " + est.amountToReceive());
        }
    }
}

What you can do

Domain
Service
Key methods

Single & batch payouts

client.payouts()

estimate, execute, batchExecute, info, history

Sign / execute arbitrary txs

client.transactions()

sign, execute, signEvmCall, jettonTransfer

Accept payments

client.payIns()

create, selectAsset, cancel, info, history

Wallets + RSA decrypt

client.wallets()

generate, list, freeze, decryptPrivateKey

Treasury sweeps

client.sweeps()

force, history, walletHistory

On-chain queries

client.blockchain()

contractsAvailable, walletBalance, transactionStatus

Fiat ↔ crypto rates

client.currencies()

fiatToCrypto, cryptoToFiat

Explore the guides

Last updated