Skip to content

feat: add --tx-version option to build legacy transactions - #109

Open
bangyro wants to merge 3 commits into
solana-program:mainfrom
bangyro:feat/legacy_tx
Open

feat: add --tx-version option to build legacy transactions#109
bangyro wants to merge 3 commits into
solana-program:mainfrom
bangyro:feat/legacy_tx

Conversation

@bangyro

@bangyro bangyro commented Aug 28, 2026

Copy link
Copy Markdown

Summary

Adds a global --tx-version <version> option to the CLI so users can build legacy transactions instead of version 0 transactions. Squads v3 only accepts legacy transactions when importing a base58 encoded transaction, so exports for a v3 multisig failed to import.

Usage

npx @solana-program/program-metadata@latest write idl <program-address> \
  --buffer <buffer-address> \
  --export <multisig-address> \
  --export-encoding base58 \
  --close-buffer <your-address> \
  --tx-version legacy

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.

1 participant