Why Cardano Client Lib
Cardano Client Lib (CCL) is a Java library for interacting with the Cardano blockchain. It builds, signs and submits transactions — from a simple ADA payment to a Plutus script call, a governance vote, or a multi-step workflow where one transaction spends what the last one produced.
It is a library, not a framework. There is no server to run and no lifecycle to adopt: you call it from whatever you already have — a Spring service, a CLI, a test, a Lambda.
Tx tx = new Tx() .payToAddress(receiverAddress, Amount.ada(10)) .from(sender.baseAddress());
TxResult result = new QuickTxBuilder(backendService) .compose(tx) .withSigner(SignerProviders.signerFrom(sender)) .completeAndWait();That is a complete payment. UTXO selection, balancing, fee calculation, change and
confirmation tracking are handled. result.getTxStatus() tells you whether it was confirmed.
What it covers
Section titled “What it covers”| Area | What you can do |
|---|---|
| Transactions | Payments, multi-asset outputs, metadata, validity intervals, custom fee payers and collateral |
| Native tokens & NFTs | Minting and burning with native-script or Plutus policies, CIP-25 and CIP-68 metadata |
| Smart contracts | Spend from and mint with Plutus V1–V3 validators, reference scripts and inputs, CIP-57 blueprint code generation, Aiken and Scalus interop |
| Staking | Registration, delegation, reward withdrawal, deregistration, script-based stake credentials |
| Governance | Full Conway era — DRep registration and voting, vote delegation, proposals, committee and treasury actions |
| Addresses & keys | BIP39 mnemonics, CIP-1852 derivation, HD wallets, base/enterprise/pointer/reward addresses |
| Standards | CIP-8, 20, 25, 27, 30, 67, 68 |
| Backends | Blockfrost, Koios, Ogmios/Kupo, Nexus — or your own via UtxoSupplier |
Beyond a single transaction, three preview APIs handle the harder coordination problems: TxPlan for transactions defined as configuration, TxFlow for multi-step workflows with UTXO chaining and rollback handling, and TxStream for continuous submission with exactly-once delivery.
Where to start
Section titled “Where to start”| You are | Start at |
|---|---|
| New to the library | Installation, then Your first transaction |
| New to Cardano’s UTXO model | Core concepts |
| Looking for a specific API | Key APIs at a glance |
| Chaining several transactions | TxFlow: your first flow |
| An AI agent, or using one | AI Starter Pack |
The guided path runs from a first payment through tokens, NFTs, multi-sig, Plutus scripts and staking. It is worth following in order if you are new — each step builds on the one before.
Versions
Section titled “Versions”See Versions for the latest stable and preview releases, and what’s new for the Unified Tx API, TxFlow, TxStream, TxPlan, programmable tokens and verified data structures.
The stable release needs Java 11 or later, and previews need Java 17 or later.
Reading and watching
Section titled “Reading and watching”- Introducing the QuickTx API
- Testing an Aiken contract from Java with Yaci DevKit
- Example projects — runnable samples
- Showcase — projects built with CCL