Skip to content

chore(svm): upgrade Solana program clients for Kit v6#2331

Open
mflanagan1041 wants to merge 1 commit into
x402-foundation:mainfrom
mflanagan1041:chore/svm-solana-token-clients-kit6
Open

chore(svm): upgrade Solana program clients for Kit v6#2331
mflanagan1041 wants to merge 1 commit into
x402-foundation:mainfrom
mflanagan1041:chore/svm-solana-token-clients-kit6

Conversation

@mflanagan1041
Copy link
Copy Markdown

Description

Updates @x402/svm to the current Solana generated program client line:

  • @solana-program/compute-budget ^0.11.0 -> ^0.15.0
  • @solana-program/token ^0.9.0 -> ^0.13.0
  • @solana-program/token-2022 ^0.6.1 -> ^0.9.0
  • @solana/kit peer range >=5.1.0 -> >=6.5.0 <7

This keeps the SVM package aligned with the current Token and Token-2022 generated clients. The peer dependency change is intentionally marked as a major changeset because consumers pinned to Kit 5 will need to upgrade.

One small source guard is included for the Kit v6 compiled transaction message type surface. getTokenPayerFromTransaction only extracts payers from decoded messages that expose the existing instructions array, so it returns no payer for other compiled message shapes instead of relying on the old type assumption.

This does not change SVM payment settlement semantics, accepted token program IDs, account metas, signer requirements, or supported schemes.

Tests

From typescript/:

  • pnpm --filter @x402/core build
  • pnpm --filter @x402/svm build
  • pnpm --filter @x402/svm test
  • pnpm --filter @x402/svm format:check
  • pnpm --filter @x402/svm lint:check

Checklist

  • I have formatted and linted my code
  • All new and existing tests pass
  • My commits are signed (required for merge)
  • I added a changelog fragment for user-facing changes (docs-only changes can skip)

@vercel
Copy link
Copy Markdown

vercel Bot commented May 15, 2026

@mflanagan1041 is attempting to deploy a commit to the Coinbase Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added typescript sdk Changes to core v2 packages labels May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk Changes to core v2 packages typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant