Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ckb-devrel/ccc/llms.txt

Use this file to discover all available pages before exploring further.

CCC is a comprehensive TypeScript/JavaScript SDK for building on the CKB blockchain. It provides everything you need — from wallet connectivity and transaction composition to protocol integrations — in a unified, developer-friendly API.

Quick Start

Get up and running with CCC in minutes with a working code example

Installation

Install the right CCC package for your project (React, Node.js, or custom UI)

Core Concepts

Understand the CKB cell model, signers, transactions, and clients

Packages

Explore all CCC packages — core, connectors, protocols, and wallet integrations

What you can build with CCC

Connect wallets

Integrate EVM, BTC, CKB, Nostr, and Doge wallets with a single connector component

Compose transactions

Build transactions with automatic fee calculation and input completion

Issue & transfer tokens

Work with UDT and xUDT tokens — issue, transfer, and manage on-chain assets

Spore Protocol

Create digital objects (DOBs) and NFTs using the Spore Protocol SDK

Sign messages

Unified signing interface across multiple wallets and chain ecosystems

Node.js backend

Use CCC on the server side for data analysis, scripting, and automation

Get started in 3 steps

1

Install CCC

Choose the package that fits your environment:
npm install @ckb-ccc/connector-react
2

Add the provider

Wrap your app with the CCC provider to enable wallet connectivity:
import { ccc } from "@ckb-ccc/connector-react";

export default function App({ children }) {
  return <ccc.Provider>{children}</ccc.Provider>;
}
3

Compose and send a transaction

Use the signer to build, sign, and send a CKB transaction:
const tx = ccc.Transaction.from({
  outputs: [{ lock: toLock, capacity: ccc.fixedPointFrom(amount) }],
});
await tx.completeInputsByCapacity(signer);
await tx.completeFeeBy(signer);
const txHash = await signer.sendTransaction(tx);
Try CCC instantly in your browser — no setup required — using the CCC Playground.

Build docs developers (and LLMs) love