Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transferV1 does not work with Token 2022 #133

Open
ChiefWoods opened this issue Aug 12, 2024 · 1 comment
Open

transferV1 does not work with Token 2022 #133

ChiefWoods opened this issue Aug 12, 2024 · 1 comment

Comments

@ChiefWoods
Copy link

const { signature } = await transferV1(umi, { mint, tokenOwner, destinationOwner, tokenStandard: TokenStandard.Fungible, splTokenProgram: SPL_TOKEN_2022_PROGRAM_ID, amount: amount * ATOMIC_UNITS_PER_TOKEN, }).sendAndConfirm(umi);

Tested code with original SPL Token Program and it works, but not with 2022

@MarkSackerberg
Copy link
Contributor

Does your Token 2022 Token have Metaplex Metadata?
Can you share the failed TX maybe?

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

No branches or pull requests

2 participants