Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 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
0e18748
Merge remote-tracking branch 'origin/release' into releases/next
Hanssen0 Jan 9, 2026
5d2725f
feat(btc): add PSBT signing and broadcasting support
fghdotio Dec 10, 2025
6e1ff95
fix(btc): improve PSBT signing safety and error handling
fghdotio Dec 10, 2025
014fcf2
chore(btc): improve PSBT documentation and remove redundant code
fghdotio Dec 10, 2025
a27fb48
refactor(xverse): use bytesTo instead of hexFrom+slice for PSBT conve…
fghdotio Dec 10, 2025
14decce
fix(joy-id): pass options parameter to buildJoyIDURL in pushPsbt
fghdotio Jan 8, 2026
b133cc0
refactor(SignerBtc): standardize BTC signer methods and types
fghdotio Jan 13, 2026
870db02
refactor: improve parameter naming in PSBT methods
fghdotio Jan 13, 2026
8c3a4a4
refactor(SignerBtc): standardize PSBT method signatures and return types
fghdotio Jan 14, 2026
aca2112
refactor(core): improve SignerBtc PSBT types with Like pattern
fghdotio Jan 21, 2026
979c1dc
docs: clarify broadcastPsbt documentation
fghdotio Jan 21, 2026
1778940
feat(playground): add bitcoin support for PSBT operations
fghdotio Jan 28, 2026
b810d80
feat: add Bitcoin transfer example
fghdotio Jan 28, 2026
a21379b
feat(psbt): PSBT publicKey as Hex, instance guards in from()
fghdotio Jan 30, 2026
c63e538
fix: resolve errors after rebase
fghdotio Jan 30, 2026
a803d5f
chore: add changeset for psbt feature
fghdotio Jan 30, 2026
44cd2d9
Merge pull request #346 from fghdotio/feat/btc-psbt-2master
Hanssen0 Mar 18, 2026
6727ffe
feat(core): add isDaoOutputLimitExceeded for NervosDAO 64-output guard
phroi Feb 28, 2026
dc831fe
Merge branch 'release' into releases/next
Hanssen0 May 29, 2026
cf000f3
feat(did-ckb): add did:ckb identifier helpers
truthixify Jun 13, 2026
833fcd8
feat(did-ckb): add resolver helpers (findDidCkbCell, resolveDidCkb, l…
truthixify Jun 13, 2026
3d8f587
feat(did-ckb): add getDidCkbHistory cell-chain walk
truthixify Jun 13, 2026
b09f741
feat(did-ckb): add @ckb-ccc/did-ckb/plc subpath for did:plc helpers
truthixify Jun 13, 2026
a45a5f3
feat(did-ckb): add migrateDidCkb and buildMigrationWitness
truthixify Jun 13, 2026
c54c196
chore(did-ckb): prettier format and refresh lockfile after adding @no…
truthixify Jun 13, 2026
fc292d3
feat(examples): add resolveDid, didHistory, migrateDid playground sam…
truthixify Jun 13, 2026
ce2b005
chore(changeset): record minor bump for did-ckb advanced features
truthixify Jun 13, 2026
2a3ae10
test(did-ckb): mocked-client tests for resolver and history walk
truthixify Jun 13, 2026
f289acb
fix(did-ckb): use input.getCell in history walk
truthixify Jun 19, 2026
fb9a347
fix(did-ckb): accept did:ckb URI directly in getDidCkbHistory
truthixify Jun 19, 2026
79d9c4d
fix(did-ckb): drop redundant hexFrom in resolver and migrate example
truthixify Jun 19, 2026
846ebd6
fix(examples): inline migrate witness setWitnessArgsAt call to satisf…
truthixify Jun 19, 2026
f727991
Merge pull request #376 from truthixify/feat/did-ckb-advanced
Hanssen0 Jun 20, 2026
f01a05b
chore: bump pnpm to v11.8.0
Hanssen0 Jun 20, 2026
067229f
Merge pull request #379 from Hanssen0/chore/pnpm-v11
Hanssen0 Jun 22, 2026
4bb3d9d
feat: bump @noble packages
Hanssen0 Jan 9, 2026
e064e31
Merge pull request #380 from Hanssen0/chore/update-noble
Hanssen0 Jun 22, 2026
cbca6d3
chore(releases/next): bump packages version
github-actions[bot] Jun 22, 2026
f4c5574
chore: bump typescript to v6
Hanssen0 Jun 22, 2026
46cc045
chore: bump packages
Hanssen0 Jun 22, 2026
8825f77
chore: upgrade github workflow actions
Hanssen0 Jun 22, 2026
e2a5bce
Merge pull request #381 from Hanssen0/chore/update-latest
Hanssen0 Jun 22, 2026
137e204
Merge pull request #341 from ckb-devrel/changeset-release/releases/next
Hanssen0 Jun 22, 2026
f565fb1
chore(releases/next): bump packages version
github-actions[bot] Jun 22, 2026
cf75827
Merge pull request #382 from ckb-devrel/changeset-release/releases/next
Hanssen0 Jun 22, 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
8 changes: 4 additions & 4 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: 22
- uses: pnpm/action-setup@v4
node-version: 26
- uses: pnpm/action-setup@v6

- name: Install dependencies
run: pnpm install
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/publish-canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Get PR head SHA for comment trigger
if: github.event_name == 'issue_comment'
id: get_pr_head_sha
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const { owner, repo } = context.repo;
Expand All @@ -36,14 +36,14 @@ jobs:
core.setOutput('sha', pr.head.sha);

- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: ${{ github.event_name == 'issue_comment' && steps.get_pr_head_sha.outputs.sha || github.ref }}

- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: 22
- uses: pnpm/action-setup@v4
node-version: 26
- uses: pnpm/action-setup@v6

- name: Install dependencies
run: pnpm build:prepare
Expand All @@ -67,7 +67,7 @@ jobs:

- name: Comment on PR with Success
if: github.event_name == 'issue_comment' && steps.changesets.outputs.published == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const { owner, repo } = context.repo;
Expand All @@ -86,7 +86,7 @@ jobs:

- name: Comment on PR on Failure
if: failure() && github.event_name == 'issue_comment'
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const { owner, repo } = context.repo;
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: 22
- uses: pnpm/action-setup@v4
node-version: 26
- uses: pnpm/action-setup@v6

- name: Install dependencies
run: pnpm build:prepare
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ lerna-debug.log
coverage

packages/*/dist*
*.tsbuildinfo

.vscode
.env*
Expand Down
8 changes: 0 additions & 8 deletions config/tsconfig.commonjs.json

This file was deleted.

23 changes: 20 additions & 3 deletions config/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"target": "es2022",
"incremental": true,
"allowJs": true,
"importHelpers": false,
"declaration": true,
"declarationMap": true,
"experimentalDecorators": true,
"useDefineForClassFields": false,
"esModuleInterop": true,
"strict": true,
"noImplicitAny": true,
"strictBindCallApply": true,
"strictNullChecks": true,
"alwaysStrict": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"outDir": "./dist",
}
"rootDir": "./src"
},
"include": ["src/**/*"]
}
43 changes: 43 additions & 0 deletions config/tsdown.config.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import { defineConfig } from "tsdown";

const common = {
minify: true,
dts: true,
platform: "neutral" as const,
sourcemap: true,
exports: true,
};

const entry = {
index: "src/index.ts",
barrel: "src/barrel.ts",
advanced: "src/advanced.ts",
advancedBarrel: "src/advancedBarrel.ts",
} as const;

const bundleDeps: string[] = [];

export default defineConfig(
(
[
{
entry,
deps: {
onlyBundle: [] as string[],
},
format: "esm",
copy: "./misc/basedirs/dist/*",
},
{
entry,
deps: {
alwaysBundle: bundleDeps,
onlyBundle: bundleDeps,
},
format: "cjs",
outDir: "dist.commonjs",
copy: "./misc/basedirs/dist.commonjs/*",
},
] as const
).map((c) => ({ ...c, ...common })),
);
37 changes: 11 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,33 +19,18 @@
"docs": "typedoc"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.29.6",
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.31.0",
"@types/jest": "^30.0.0",
"@vitest/coverage-v8": "3.2.4",
"jest": "30.1.1",
"ts-jest": "^29.4.1",
"typedoc": "0.28.7",
"typedoc-material-theme": "^1.4.0",
"@vitest/coverage-v8": "4.1.9",
"jest": "30.4.2",
"ts-jest": "^29.4.11",
"typedoc": "0.28.19",
"typedoc-material-theme": "^1.4.1",
"typedoc-plugin-extras": "^4.0.1",
"typedoc-plugin-ga": "^1.0.5",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
"typedoc-plugin-ga": "^1.1.1",
"typescript": "^6.0.3",
"vitest": "^4.1.9"
},
"pnpm": {
"patchedDependencies": {
"bs58check@4.0.0": "patches/bs58check@4.0.0.patch"
},
"onlyBuiltDependencies": [
"@nestjs/core",
"@tailwindcss/oxide",
"core-js",
"core-js-pure",
"esbuild",
"secp256k1",
"sharp",
"unrs-resolver"
]
},
"packageManager": "pnpm@10.8.1"
"packageManager": "pnpm@11.8.0"
}
39 changes: 39 additions & 0 deletions packages/ccc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# @ckb-ccc/ccc

## 1.2.0
### Minor Changes



- [#381](https://github.com/ckb-devrel/ccc/pull/381) [`46cc045`](https://github.com/ckb-devrel/ccc/commit/46cc045a3eefe9ba6625482dc7f740a0c59c99d4) Thanks [@Hanssen0](https://github.com/Hanssen0)! - chore: bump packages


### Patch Changes

- Updated dependencies [[`46cc045`](https://github.com/ckb-devrel/ccc/commit/46cc045a3eefe9ba6625482dc7f740a0c59c99d4)]:
- @ckb-ccc/utxo-global@1.1.0
- @ckb-ccc/eip6963@1.1.0
- @ckb-ccc/uni-sat@1.1.0
- @ckb-ccc/joy-id@1.1.0
- @ckb-ccc/xverse@1.1.0
- @ckb-ccc/nip07@1.1.0
- @ckb-ccc/shell@1.3.0
- @ckb-ccc/okx@1.1.0
- @ckb-ccc/rei@1.1.0

## 1.1.26
### Patch Changes



- [#379](https://github.com/ckb-devrel/ccc/pull/379) [`f01a05b`](https://github.com/ckb-devrel/ccc/commit/f01a05bab332d9f4e0cf7f84aecfd688f8e9f346) Thanks [@Hanssen0](https://github.com/Hanssen0)! - chore: bump pnpm to v11.8.0

- Updated dependencies [[`a803d5f`](https://github.com/ckb-devrel/ccc/commit/a803d5fba8d0e082c6aba14db156856025402e72), [`3bd5130`](https://github.com/ckb-devrel/ccc/commit/3bd51300d9602482dd781752f618f6cfd642675c), [`0366786`](https://github.com/ckb-devrel/ccc/commit/03667865d1bc6d091d9144d39f6b434abe4ce18b), [`f01a05b`](https://github.com/ckb-devrel/ccc/commit/f01a05bab332d9f4e0cf7f84aecfd688f8e9f346)]:
- @ckb-ccc/joy-id@1.0.33
- @ckb-ccc/okx@1.0.33
- @ckb-ccc/uni-sat@1.0.33
- @ckb-ccc/utxo-global@1.0.33
- @ckb-ccc/xverse@1.0.33
- @ckb-ccc/shell@1.2.0
- @ckb-ccc/eip6963@1.0.33
- @ckb-ccc/nip07@1.0.33
- @ckb-ccc/rei@1.0.33

## 1.1.25
### Patch Changes

Expand Down
21 changes: 10 additions & 11 deletions 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.25",
"version": "1.2.0",
"description": "CCC - CKBer's Codebase. Common Chains Connector.",
"author": "Hanssen0 <hanssen0@hanssen0.com>",
"license": "MIT",
Expand Down Expand Up @@ -36,21 +36,20 @@
}
},
"scripts": {
"build": "rimraf ./dist && rimraf ./dist.commonjs && tsc && tsc --project tsconfig.commonjs.json && copyfiles -u 2 misc/basedirs/**/* .",
"build": "tsc && tsc --project tsconfig.commonjs.json && copyfiles -u 2 misc/basedirs/**/* .",
"lint": "eslint ./src",
"format": "prettier --write . && eslint --fix ./src"
},
"devDependencies": {
"@eslint/js": "^9.34.0",
"@eslint/js": "^10.0.1",
"copyfiles": "^2.4.1",
"eslint": "^9.34.0",
"eslint": "^10.5.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"prettier": "^3.6.2",
"prettier-plugin-organize-imports": "^4.2.0",
"rimraf": "^6.0.1",
"typescript": "^5.9.2",
"typescript-eslint": "^8.41.0"
"eslint-plugin-prettier": "^5.5.6",
"prettier": "^3.8.4",
"prettier-plugin-organize-imports": "^4.3.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.61.1"
},
"publishConfig": {
"access": "public"
Expand All @@ -66,5 +65,5 @@
"@ckb-ccc/utxo-global": "workspace:*",
"@ckb-ccc/xverse": "workspace:*"
},
"packageManager": "pnpm@10.8.1"
"packageManager": "pnpm@11.8.0"
}
5 changes: 3 additions & 2 deletions packages/ccc/tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es2020",
"target": "es2022",
"incremental": true,
"allowJs": true,
"importHelpers": false,
Expand All @@ -16,7 +16,8 @@
"alwaysStrict": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true
"skipLibCheck": true,
"rootDir": "./src"
},
"include": ["src/**/*"]
}
23 changes: 23 additions & 0 deletions packages/ckb-ccc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# ckb-ccc

## 1.1.0
### Minor Changes



- [#381](https://github.com/ckb-devrel/ccc/pull/381) [`46cc045`](https://github.com/ckb-devrel/ccc/commit/46cc045a3eefe9ba6625482dc7f740a0c59c99d4) Thanks [@Hanssen0](https://github.com/Hanssen0)! - chore: bump packages


### Patch Changes

- Updated dependencies [[`46cc045`](https://github.com/ckb-devrel/ccc/commit/46cc045a3eefe9ba6625482dc7f740a0c59c99d4)]:
- @ckb-ccc/ccc@1.2.0

## 1.0.34
### Patch Changes



- [#379](https://github.com/ckb-devrel/ccc/pull/379) [`f01a05b`](https://github.com/ckb-devrel/ccc/commit/f01a05bab332d9f4e0cf7f84aecfd688f8e9f346) Thanks [@Hanssen0](https://github.com/Hanssen0)! - chore: bump pnpm to v11.8.0

- Updated dependencies [[`f01a05b`](https://github.com/ckb-devrel/ccc/commit/f01a05bab332d9f4e0cf7f84aecfd688f8e9f346)]:
- @ckb-ccc/ccc@1.1.26

## 1.0.33
### Patch Changes

Expand Down
21 changes: 10 additions & 11 deletions 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.33",
"version": "1.1.0",
"description": "CCC - CKBer's Codebase. Common Chains Connector.",
"author": "Hanssen0 <hanssen0@hanssen0.com>",
"license": "MIT",
Expand All @@ -13,27 +13,26 @@
"main": "dist.commonjs/index.js",
"module": "dist/index.js",
"scripts": {
"build": "rimraf ./dist && rimraf ./dist.commonjs && tsc && tsc --project tsconfig.commonjs.json && copyfiles -u 2 misc/basedirs/**/* .",
"build": "tsc && tsc --project tsconfig.commonjs.json && copyfiles -u 2 misc/basedirs/**/* .",
"lint": "eslint ./src",
"format": "prettier --write . && eslint --fix ./src"
},
"devDependencies": {
"@eslint/js": "^9.34.0",
"@eslint/js": "^10.0.1",
"copyfiles": "^2.4.1",
"eslint": "^9.34.0",
"eslint": "^10.5.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"prettier": "^3.6.2",
"prettier-plugin-organize-imports": "^4.2.0",
"rimraf": "^6.0.1",
"typescript": "^5.9.2",
"typescript-eslint": "^8.41.0"
"eslint-plugin-prettier": "^5.5.6",
"prettier": "^3.8.4",
"prettier-plugin-organize-imports": "^4.3.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.61.1"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@ckb-ccc/ccc": "workspace:*"
},
"packageManager": "pnpm@10.8.1"
"packageManager": "pnpm@11.8.0"
}
Loading