You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently transfer hook is only supported in JavaScript through the Token2022 library. We don't have any JS helpers for creating instructions for the transfer hook interface (InitializeExtraAccountMetaList & Execute).
One of the main purposes would be to test the Token2022 account resolution code being shipped by #5112.
Ideally, we should be able to use Solana Bankrun to deploy the example program and test all of our JavaScript transfer hook magic!
Solution
Lay down the proper JS helpers for the transfer hook instructions and integrate Solana Bankrun to test against the example program like in the Rust tests
The text was updated successfully, but these errors were encountered:
Problem
Currently transfer hook is only supported in JavaScript through the Token2022 library. We don't have any JS helpers for creating instructions for the transfer hook interface (
InitializeExtraAccountMetaList
&Execute
).One of the main purposes would be to test the Token2022 account resolution code being shipped by #5112.
Ideally, we should be able to use Solana Bankrun to deploy the example program and test all of our JavaScript transfer hook magic!
Solution
Lay down the proper JS helpers for the transfer hook instructions and integrate Solana Bankrun to test against the example program like in the Rust tests
The text was updated successfully, but these errors were encountered: