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

updated token-program.md course #492

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Ozodimgba
Copy link

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

  • createMint now uses createInitializeMint2Instruction,
  • createAssociatedTokenAccount method replaced asynchronous getAssociatedTokenAddress calls with synchronous getAssociatedTokenAddressSync to make sure token account is only created when none exists
  • allowOwnerOffCurve parameter is a necessary parameter for certain use case like vaults and interactions with multi sig wallets. see the @solana/spl-token commit here

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.

1 participant