Skip to content

refactor(sdk-coin-sol): extract Token-2022 resolvers to a reusable mo… - #9528

Merged
abhishekagrawal080 merged 1 commit into
masterfrom
CSHLD-1182-token-ext
Aug 20, 2026
Merged

refactor(sdk-coin-sol): extract Token-2022 resolvers to a reusable mo…#9528
abhishekagrawal080 merged 1 commit into
masterfrom
CSHLD-1182-token-ext

Conversation

@abhishekagrawal080

Copy link
Copy Markdown
Contributor

…dule

TICKET: CSHLD-1182

Move resolveTransferHookAccounts / resolvePermissionlessThaw (and their helpers) out of the Sol class into lib/token2022Resolve.ts as standalone functions taking an injectable Connection, so callers that are not a sdk-coin-sol Sol instance (e.g. wallet-platform, which reads chain state via its own RPC) can drive them. buildSolAccountConnection adapts any address->account fetcher into the shape the spl-token helpers need. Sol's methods remain as thin, behavior-identical wrappers over the coin's own node transport; the resolver API is re-exported from the package index. No behavior change.

@abhishekagrawal080
abhishekagrawal080 requested a review from a team as a code owner August 20, 2026 07:35
@linear-code

linear-code Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

CSHLD-1182

@abhishekagrawal080
abhishekagrawal080 merged commit 513a9d1 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