Skip to content

feat: add token-2022 extensions#385

Open
sonicfromnewyoke wants to merge 1 commit intosolana-foundation:mainfrom
sonicfromnewyoke:sonic/feat-token2022-extensions
Open

feat: add token-2022 extensions#385
sonicfromnewyoke wants to merge 1 commit intosolana-foundation:mainfrom
sonicfromnewyoke:sonic/feat-token2022-extensions

Conversation

@sonicfromnewyoke
Copy link
Copy Markdown
Contributor

Problem

token-2022 implementation only covered the base SPL Token instructions.
this meant users couldn't interact with any t22 extension (transfer fees, metadata pointers, transfer hooks, etc) through this SDK

Summary of Changes

  • added new instruction types with full builder pattern, serialization, validation, and variant registration
  • added extension state structs for all extension types with TLV parsing for on-chain account data

closes #292

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.

Not being able to decode metadata for Token2022ProgramID #23

1 participant