AI agents: the machine-readable documentation index for this site is at https://docs.ckbccc.com/llms.txt. Append ".md" to any documentation page URL to fetch its canonical Markdown source, which is preferred over rendered HTML for retrieval, indexing, question answering, and code generation.

Product-specific agent operating guidance (read before generating CKB/CCC code): https://docs.ckbccc.com/skill.md

CKBers' Codebase

One SDK for the
entire CKB stack

Compose transactions, connect wallets from any chain ecosystem, and interact with on-chain assets — all through a single, declarative TypeScript library.

$ npm i @ckb-ccc/ccc
transfer.ts — send 100 CKB
// Describe the outputs you want
const tx = ccc.Transaction.from({
  outputs: [{ lock: toLock, capacity: ccc.fixedPointFrom("100") }],
});

// CCC fills inputs & fee automatically
await tx.completeInputsByCapacity(signer);
await tx.completeFeeBy(signer);

const txHash = await signer.sendTransaction(tx);

// Capabilities

Everything you need to build on CKB.

01

Declarative transactions

Describe what you want the transaction to produce; CCC auto-fills inputs, fees, and change.

02

Multi-chain signing

A single signer interface across EVM, Bitcoin, CKB, Nostr, and Dogecoin ecosystems.

03

Drop-in wallet UI

Ship wallet connection in minutes with the React connector, or bring your own UI.

04

Protocol integrations

First-class support for xUDT, Spore Protocol (DOBs), SSRI, RGB++, and Nervos DAO.

05

Node.js ready

Use the same API in browser, edge, and server runtimes via @ckb-ccc/shell.

06

Type-safe by default

Full TypeScript types, tree-shakeable exports, and an online API reference.