Skip to content

feat: implement missing Token2022Program extensions#3

Merged
jpe7s merged 2 commits intosava-software:mainfrom
MetaverseMan:feat-token-extension
Mar 31, 2026
Merged

feat: implement missing Token2022Program extensions#3
jpe7s merged 2 commits intosava-software:mainfrom
MetaverseMan:feat-token-extension

Conversation

@MetaverseMan
Copy link
Copy Markdown
Contributor

  • Add support for MetadataPointerExtension
  • Add support for TransferHookExtension
  • Implement initializeTokenMetadataInstruction per spl-token-metadata-interface

- Add support for MetadataPointerExtension
- Add support for TransferHookExtension
- Implement initializeTokenMetadataInstruction per spl-token-metadata-interface
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 30, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Member

@jpe7s jpe7s left a comment

Choose a reason for hiding this comment

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

Just a few nits. Can you grab a known working instruction for each type and create tests to validate that these serialize to the same bytes?

@jpe7s jpe7s merged commit 61cf8f0 into sava-software:main Mar 31, 2026
2 checks passed
@jpe7s
Copy link
Copy Markdown
Member

jpe7s commented Mar 31, 2026

Will need to do some additional review and fix the remaining nits before releasing. Do you need this back-ported to Java 21? If not, I don't intend to as it is a feature and not a fix.

@MetaverseMan
Copy link
Copy Markdown
Contributor Author

Will need to do some additional review and fix the remaining nits before releasing. Do you need this back-ported to Java 21? If not, I don't intend to as it is a feature and not a fix.

Thanks for merging!

No need to back-port to Java 21, it's fine to keep it only on newer versions.

@jpe7s
Copy link
Copy Markdown
Member

jpe7s commented Mar 31, 2026

Thank you @MetaverseMan for the PR. Published your contribution in version 25.0.2

@MetaverseMan MetaverseMan deleted the feat-token-extension branch April 1, 2026 00:49
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.

3 participants