Skip to content

feat(core): add KnownScript.SUdt#416

Merged
Hanssen0 merged 1 commit into
ckb-devrel:devfrom
Hanssen0:feat/sudt
Jun 30, 2026
Merged

feat(core): add KnownScript.SUdt#416
Hanssen0 merged 1 commit into
ckb-devrel:devfrom
Hanssen0:feat/sudt

Conversation

@Hanssen0

Copy link
Copy Markdown
Member

@changeset-bot

changeset-bot Bot commented Jun 30, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 52309a4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 20 packages
Name Type
@ckb-ccc/core Minor
@ckb-ccc/did-ckb Patch
@ckb-ccc/eip6963 Patch
@ckb-ccc/joy-id Patch
@ckb-ccc/lumos-patches Patch
@ckb-ccc/nip07 Patch
@ckb-ccc/okx Patch
@ckb-ccc/rei Patch
@ckb-ccc/shell Patch
@ckb-ccc/spore Patch
@ckb-ccc/ssri Patch
@ckb-ccc/type-id Patch
@ckb-ccc/udt Patch
@ckb-ccc/uni-sat Patch
@ckb-ccc/utxo-global Patch
@ckb-ccc/xverse Patch
@ckb-ccc/ccc Patch
ckb-ccc Patch
@ckb-ccc/connector Patch
@ckb-ccc/connector-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for appccc ready!

Name Link
🔨 Latest commit 52309a4
🔍 Latest deploy log https://app.netlify.com/projects/appccc/deploys/6a4419b63fb8080008bda169
😎 Deploy Preview https://deploy-preview-416--appccc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 68 (🔴 down 11 from production)
Accessibility: 89 (🟢 up 1 from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for liveccc ready!

Name Link
🔨 Latest commit 52309a4
🔍 Latest deploy log https://app.netlify.com/projects/liveccc/deploys/6a4419b6742e7d0008d8bd87
😎 Deploy Preview https://deploy-preview-416--liveccc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 38 (🔴 down 1 from production)
Accessibility: 88 (no change from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for apiccc ready!

Name Link
🔨 Latest commit 52309a4
🔍 Latest deploy log https://app.netlify.com/projects/apiccc/deploys/6a4419b62bca640008c86c36
😎 Deploy Preview https://deploy-preview-416--apiccc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 86 (🟢 up 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 95 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@Hanssen0 Hanssen0 marked this pull request as ready for review June 30, 2026 19:32
Copilot AI review requested due to automatic review settings June 30, 2026 19:32
@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for docsccc ready!

Name Link
🔨 Latest commit 52309a4
🔍 Latest deploy log https://app.netlify.com/projects/docsccc/deploys/6a4419b66dc5790008f2a3a3
😎 Deploy Preview https://deploy-preview-416--docsccc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 68 (🔴 down 19 from production)
Accessibility: 95 (no change from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 75 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the core client’s well-known script registry by adding KnownScript.SUdt and wiring it into the built-in mainnet/testnet script deployment maps, allowing consumers to resolve sUDT script deployment info via the existing getKnownScript flow.

Changes:

  • Add KnownScript.SUdt to the KnownScript enum.
  • Register sUDT script deployment info (code hash + cell dep) in both mainnet and testnet advanced script maps.
  • Add a changeset to publish the new enum member as a minor change.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/core/src/client/knownScript.ts Adds SUdt to the public KnownScript enum.
packages/core/src/client/clientPublicTestnet.advanced.ts Adds testnet sUDT script deployment info to TESTNET_SCRIPTS.
packages/core/src/client/clientPublicMainnet.advanced.ts Adds mainnet sUDT script deployment info to MAINNET_SCRIPTS.
.changeset/silent-actors-wink.md Adds a changeset to release the new known script entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .changeset/silent-actors-wink.md
@Hanssen0 Hanssen0 merged commit 19b0853 into ckb-devrel:dev Jun 30, 2026
17 checks passed
@Hanssen0 Hanssen0 deleted the feat/sudt branch June 30, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants