developer-content
developer-content copied to clipboard
updated token-program.md course
Problem
Some of the methods used in the @solana/spl-token package in this course have been updated and might cause confusion for learners interacting with the package presently
Summary of Changes
createMintnow usescreateInitializeMint2Instruction,createAssociatedTokenAccountmethod replaced asynchronousgetAssociatedTokenAddresscalls with synchronousgetAssociatedTokenAddressSyncto make sure token account is only created when none existsallowOwnerOffCurveparameter is a necessary parameter for certain use case like vaults and interactions with multi sig wallets. see the @solana/spl-token commit here