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.
// Ecosystem



