Skip to content

feat(sdk-coin-sol): add sRFC-37 Token ACL permissionless thaw - #9525

Merged
abhishekagrawal080 merged 1 commit into
masterfrom
CSHLD-1182-sRFC-37
Aug 20, 2026
Merged

feat(sdk-coin-sol): add sRFC-37 Token ACL permissionless thaw#9525
abhishekagrawal080 merged 1 commit into
masterfrom
CSHLD-1182-sRFC-37

Conversation

@abhishekagrawal080

Copy link
Copy Markdown
Contributor

TICKET: CSHLD-1182

Support allowlist/blocklist (Default Account State) Token-2022 mints bynbundling a permissionless thaw atomically with ATA creation and transfer, so a frozen-by-default account is thawed and used in one all-or-nothing transaction.

  • add PermissionlessThawIdempotent instruction (Token ACL program TACLkU6..., discriminator 9) built from live-resolved accounts
  • Sol.resolvePermissionlessThaw: discover the mint's Token ACL MintConfig (gating program + permissionless-thaw flag) and resolve the gating program's thaw ExtraAccountMetaList over a getDataFromNode-backed connection; returns { applicable: false } for non-ACL or thaw-disabled mints
  • permissionlessThaw() setter on both token-transfer builders bundles [createATA, thaw, transfer]
  • decode support so the bundled instruction round-trips through build()/toJson()

@abhishekagrawal080
abhishekagrawal080 requested a review from a team as a code owner August 19, 2026 08:02
@linear-code

linear-code Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

CSHLD-1182

@akarath akarath left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

approved

@abhishekagrawal080
abhishekagrawal080 merged commit 284b6f9 into master Aug 20, 2026
25 checks passed
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