Skip to content

Conversation

@krupanand-bitgo
Copy link
Contributor

@krupanand-bitgo krupanand-bitgo commented Sep 26, 2025

This PR introduces changes to support Transfer Hook account metas in Solana token transactions, as defined by the Token-2022 standard. When a token includes the Transfer Hook extension, we are required to include the associated program-derived account metas in the transfer instruction to ensure proper execution.

Detects whether the Transfer Hook extension is enabled for the token.
Adds the necessary Transfer Hook program account metas to the transfer instruction accordingly.
Ticket: WIN-7258

@krupanand-bitgo krupanand-bitgo force-pushed the WIN-7258_sol_token_tranfer_hook-1 branch from 7d2819d to 25f28bf Compare September 26, 2025 07:40
@krupanand-bitgo krupanand-bitgo marked this pull request as ready for review September 26, 2025 08:00
@krupanand-bitgo krupanand-bitgo requested a review from a team as a code owner September 26, 2025 08:00
arvind-bg
arvind-bg previously approved these changes Sep 26, 2025
Copy link
Contributor

@arvind-bg arvind-bg left a comment

Choose a reason for hiding this comment

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

Minor comment, other lgtm

transfer hook implementation for tbill token, added extra account metas
Ticket: WIN-7258
Copy link
Contributor

@arvind-bg arvind-bg left a comment

Choose a reason for hiding this comment

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

Looks good

Copy link
Contributor

@abhishekagrawal080 abhishekagrawal080 left a comment

Choose a reason for hiding this comment

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

looks good to me

@krupanand-bitgo krupanand-bitgo merged commit 292adcc into master Sep 29, 2025
15 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.

5 participants