Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
bf0f8d8
feat(core): transform `Epoch` into a class and add utilities (#314)
phroi Jan 7, 2026
c3a6099
Merge remote-tracking branch 'origin/release' into 'releases/next'
Hanssen0 Jan 8, 2026
9f7ecb6
feat(core): auto complete cell capacity if it's not enough
Hanssen0 Jan 8, 2026
a526890
feat(core): add known script did ckb
Hanssen0 Dec 16, 2025
1148a5c
feat(core): extract a universal `Codec` from `mol.Codec`
Hanssen0 Jan 8, 2026
3bd5130
feat(type-id): add type-id package for Type ID operations
Hanssen0 Jan 6, 2026
0366786
feat(did-ckb): add did-ckb package for basic did operations
Hanssen0 Jan 8, 2026
b4aa99f
fix(core): circular dependency due to btc.verify
Hanssen0 Jan 9, 2026
68b7147
chore(release): bump packages version
github-actions[bot] Jan 9, 2026
0e18748
Merge remote-tracking branch 'origin/release' into releases/next
Hanssen0 Jan 9, 2026
7a047a6
feat(core): optional `shouldAddInputs` for `Transaction.completeFee`
Hanssen0 Jun 13, 2025
9d13060
fix(core): `Transaction.clone` should clone inputs' cache
Hanssen0 Jun 13, 2025
c533eea
Simplify MapLru, while improving Complexity (#244)
phroi Aug 8, 2025
c1b2be6
feat: add RGB++ known scripts (RgbppLock, BtcTimeLock)
fghdotio Jul 15, 2025
e95f84d
Improve performance of Script & OutPoint eq (#248)
phroi Aug 10, 2025
542cd11
fix(core): avoid circular dependency
Hanssen0 Aug 14, 2025
c2a9df9
feat(core): `Signer.findCellsOnChain`
Hanssen0 Jun 20, 2025
9aaa25e
feat(core): auto capacity completion
Hanssen0 Jun 14, 2025
ef9c75a
perf(core): optimize Transaction.completeFee
Hanssen0 Jun 14, 2025
c1ae914
feat(udt): `Udt.complete*` methods
Hanssen0 Aug 16, 2025
b6afda4
feat(core): multiple scripts for `SignerCkbScriptReadonly`
Hanssen0 Aug 17, 2025
1112030
feat(core): add `CellAny`
Hanssen0 Aug 16, 2025
5af2cb7
feat(core): `reduce` and `reduceAsync` for `Iterable`
Hanssen0 Aug 17, 2025
e637339
fix: `prettier-vscode` doesn't work with `import`
Hanssen0 Aug 21, 2025
285772c
fix(core)!: `getFeeRateStatistics` may returns `null` on devnet
Hanssen0 Aug 20, 2025
25aa5b9
feat(core): default `Signer.prepareTransaction`
Hanssen0 Aug 17, 2025
fe2d8be
Revert "feat(udt): `Udt.complete*` methods"
Hanssen0 Sep 9, 2025
31d6bf1
Revert "feat: add RGB++ known scripts (RgbppLock, BtcTimeLock)"
Hanssen0 Sep 9, 2025
8610c7e
feat(core): improve hex utils (#268)
phroi Sep 16, 2025
a3621a3
fix(core): Invalid Uint64 0x00: with redundant leading zeros.
Hanssen0 Sep 18, 2025
117e79c
feat(joy-id): address info in identity
Hanssen0 Sep 17, 2025
3bc893d
feat(core): `Signer.fromSignature`
Hanssen0 Sep 18, 2025
1172664
feat(btc): add PSBT signing and broadcasting support
fghdotio Dec 10, 2025
5d29445
fix(btc): improve PSBT signing safety and error handling
fghdotio Dec 10, 2025
9ed4d2c
chore(btc): improve PSBT documentation and remove redundant code
fghdotio Dec 10, 2025
b908083
refactor(xverse): use bytesTo instead of hexFrom+slice for PSBT conve…
fghdotio Dec 10, 2025
fa4ad05
fix(joy-id): pass options parameter to buildJoyIDURL in pushPsbt
fghdotio Jan 8, 2026
20d6985
refactor(SignerBtc): standardize BTC signer methods and types
fghdotio Jan 13, 2026
1a0f6ad
refactor: improve parameter naming in PSBT methods
fghdotio Jan 13, 2026
6e796bc
refactor(SignerBtc): standardize PSBT method signatures and return types
fghdotio Jan 14, 2026
f69183f
refactor(core): improve SignerBtc PSBT types with Like pattern
fghdotio Jan 21, 2026
7dff355
docs: clarify broadcastPsbt documentation
fghdotio Jan 21, 2026
0090d12
feat(playground): add bitcoin support for PSBT operations
fghdotio Jan 28, 2026
24a560c
feat: add Bitcoin transfer example
fghdotio Jan 28, 2026
d6a0897
feat(psbt): PSBT publicKey as Hex, instance guards in from()
fghdotio Jan 30, 2026
312bf75
fix: resolve errors after rebase
fghdotio Jan 30, 2026
8be156d
chore: add changeset for psbt feature
fghdotio Jan 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/calm-doors-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": minor
---

feat(core): extract a universal `Codec` from `mol.Codec`

6 changes: 6 additions & 0 deletions .changeset/clean-chefs-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": patch
---

fix(core): avoid circular dependency

6 changes: 6 additions & 0 deletions .changeset/clean-shoes-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": minor
---

feat(core): `Signer.findCellsOnChain`

5 changes: 5 additions & 0 deletions .changeset/crazy-hairs-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ckb-ccc/core": minor
---

feat(Epoch): transform `Epoch` into a class and add utilities
13 changes: 13 additions & 0 deletions .changeset/cuddly-lands-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@ckb-ccc/core": minor
"@ckb-ccc/joy-id": patch
"@ckb-ccc/okx": patch
"@ckb-ccc/uni-sat": patch
"@ckb-ccc/utxo-global": patch
"@ckb-ccc/xverse": patch
---

feat(core): add BTC PSBT signing support

- Add `SignerBtc.signPsbt()`, `signAndBroadcastPsbt()`, and `broadcastPsbt()` for signing and broadcasting PSBTs
- Add `SignPsbtOptions` and `InputToSign` for configuring PSBT signing
6 changes: 6 additions & 0 deletions .changeset/curvy-baboons-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": minor
---

feat(core): optional `shouldAddInputs` for `Transaction.completeFee`

6 changes: 6 additions & 0 deletions .changeset/empty-shrimps-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": patch
---

perf(core): optimize Transaction.completeFee

6 changes: 6 additions & 0 deletions .changeset/fair-items-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": minor
---

feat(core): `mol.padding` for padding codec

7 changes: 7 additions & 0 deletions .changeset/fifty-parks-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@ckb-ccc/shell": minor
"@ckb-ccc/type-id": patch
---

feat(type-id): add type-id package for Type ID operations

6 changes: 6 additions & 0 deletions .changeset/fifty-planes-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": minor
---

feat(core): `Signer.fromSignature`

7 changes: 7 additions & 0 deletions .changeset/fruity-drinks-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@ckb-ccc/shell": minor
"@ckb-ccc/did-ckb": patch
---

feat(did-ckb): add did-ckb package for basic did operations

6 changes: 6 additions & 0 deletions .changeset/green-news-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": minor
---

feat(core): auto capacity completion

7 changes: 7 additions & 0 deletions .changeset/late-vans-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@ckb-ccc/core": major
"@ckb-ccc/joy-id": minor
---

feat(joy-id): address info in identity

6 changes: 6 additions & 0 deletions .changeset/old-eagles-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": patch
---

feat(core): default `Signer.prepareTransaction`

6 changes: 6 additions & 0 deletions .changeset/poor-days-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": minor
---

feat(core): add known script did ckb

9 changes: 9 additions & 0 deletions .changeset/salty-apples-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@ckb-ccc/core": minor
"@ckb-ccc/ssri": patch
---

feat(core): add `CellAny`

It's definitely a mistake to name `CellOnChain` `Cell`, but there is nothing we can do with that right now. To avoid more duplicate code, `CellAny` was added to represent a cell that's on-chain or off-chain.

5 changes: 5 additions & 0 deletions .changeset/shiny-ants-say.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ckb-ccc/core": patch
---

`hexFrom` passthru normalized hex and `numToHex` enforce hex normalization
5 changes: 5 additions & 0 deletions .changeset/six-steaks-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ckb-ccc/core": patch
---

Simplify MapLru, while improving Complexity
5 changes: 5 additions & 0 deletions .changeset/sixty-games-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ckb-ccc/core": major
---

fix(core)!: `getFeeRateStatistics` may returns `null` on devnet
6 changes: 6 additions & 0 deletions .changeset/tangy-memes-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": major
---

feat(core): `reduce` and `reduceAsync` for `Iterable`

6 changes: 6 additions & 0 deletions .changeset/ten-ties-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": minor
---

feat(core): multiple scripts for `SignerCkbScriptReadonly`

6 changes: 6 additions & 0 deletions .changeset/weak-adults-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": minor
---

feat(core): auto complete cell capacity if it's not enough

6 changes: 6 additions & 0 deletions .changeset/weak-otters-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": patch
---

fix(core): `Transaction.clone` should clone inputs' cache

6 changes: 6 additions & 0 deletions .changeset/wise-news-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ckb-ccc/core": patch
---

fix(core): Invalid Uint64 0x00: with redundant leading zeros.

13 changes: 13 additions & 0 deletions config/prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs

/**
* @see https://prettier.io/docs/configuration
* @type {import("prettier").Config}
*/
const config = {
singleQuote: false,
trailingComma: "all",
plugins: ["prettier-plugin-organize-imports"],
};

export default config;
14 changes: 14 additions & 0 deletions packages/ccc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @ckb-ccc/ccc

## 1.1.24
### Patch Changes

- Updated dependencies []:
- @ckb-ccc/eip6963@1.0.31
- @ckb-ccc/joy-id@1.0.31
- @ckb-ccc/nip07@1.0.31
- @ckb-ccc/okx@1.0.31
- @ckb-ccc/rei@1.0.31
- @ckb-ccc/shell@1.1.24
- @ckb-ccc/uni-sat@1.0.31
- @ckb-ccc/utxo-global@1.0.31
- @ckb-ccc/xverse@1.0.31

## 1.1.23
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/ccc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-ccc/ccc",
"version": "1.1.23",
"version": "1.1.24",
"description": "CCC - CKBer's Codebase. Common Chains Connector.",
"author": "Hanssen0 <hanssen0@hanssen0.com>",
"license": "MIT",
Expand Down
13 changes: 13 additions & 0 deletions packages/ccc/prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs

/**
* @see https://prettier.io/docs/configuration
* @type {import("prettier").Config}
*/
const config = {
singleQuote: false,
trailingComma: "all",
plugins: ["prettier-plugin-organize-imports"],
};

export default config;
6 changes: 6 additions & 0 deletions packages/ckb-ccc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# ckb-ccc

## 1.0.32
### Patch Changes

- Updated dependencies []:
- @ckb-ccc/ccc@1.1.24

## 1.0.31
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/ckb-ccc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ckb-ccc",
"version": "1.0.31",
"version": "1.0.32",
"description": "CCC - CKBer's Codebase. Common Chains Connector.",
"author": "Hanssen0 <hanssen0@hanssen0.com>",
"license": "MIT",
Expand Down
13 changes: 13 additions & 0 deletions packages/ckb-ccc/prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs

/**
* @see https://prettier.io/docs/configuration
* @type {import("prettier").Config}
*/
const config = {
singleQuote: false,
trailingComma: "all",
plugins: ["prettier-plugin-organize-imports"],
};

export default config;
6 changes: 6 additions & 0 deletions packages/connector-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @ckb-ccc/connector-react

## 1.0.33
### Patch Changes

- Updated dependencies []:
- @ckb-ccc/connector@1.0.32

## 1.0.32
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/connector-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-ccc/connector-react",
"version": "1.0.32",
"version": "1.0.33",
"description": "CCC - CKBer's Codebase. Common Chains Connector UI Component for React",
"author": "Hanssen0 <hanssen0@hanssen0.com>",
"license": "MIT",
Expand Down
13 changes: 13 additions & 0 deletions packages/connector-react/prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs

/**
* @see https://prettier.io/docs/configuration
* @type {import("prettier").Config}
*/
const config = {
singleQuote: false,
trailingComma: "all",
plugins: ["prettier-plugin-organize-imports"],
};

export default config;
6 changes: 6 additions & 0 deletions packages/connector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @ckb-ccc/connector

## 1.0.32
### Patch Changes

- Updated dependencies []:
- @ckb-ccc/ccc@1.1.24

## 1.0.31
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/connector/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-ccc/connector",
"version": "1.0.31",
"version": "1.0.32",
"description": "CCC - CKBer's Codebase. Common Chains Connector UI",
"author": "Hanssen0 <hanssen0@hanssen0.com>",
"license": "MIT",
Expand Down
13 changes: 13 additions & 0 deletions packages/connector/prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs

/**
* @see https://prettier.io/docs/configuration
* @type {import("prettier").Config}
*/
const config = {
singleQuote: false,
trailingComma: "all",
plugins: ["prettier-plugin-organize-imports"],
};

export default config;
7 changes: 7 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @ckb-ccc/core

## 1.12.4
### Patch Changes



- [#350](https://github.com/ckb-devrel/ccc/pull/350) [`b4aa99f`](https://github.com/ckb-devrel/ccc/commit/b4aa99f1b87c1d14117a15fa1fcac6f9e60b43c1) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix(core): circular dependency due to btc.verify

## 1.12.3
### Patch Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-ccc/core",
"version": "1.12.3",
"version": "1.12.4",
"description": "Core of CCC - CKBer's Codebase",
"author": "Hanssen0 <hanssen0@hanssen0.com>",
"license": "MIT",
Expand Down
13 changes: 13 additions & 0 deletions packages/core/prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs

/**
* @see https://prettier.io/docs/configuration
* @type {import("prettier").Config}
*/
const config = {
singleQuote: false,
trailingComma: "all",
plugins: ["prettier-plugin-organize-imports"],
};

export default config;
Loading