Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Conversation

@wuuer
Copy link
Contributor

@wuuer wuuer commented Sep 27, 2024

Problem

TERMINOLOGY "mint" is not proper in the context "In this lab, we'll create a mint with the close mint extension.".
missing typescript code example for using an account on devnet while calling "initializeKeypair" in the section [2. Run validator node]
missing typescript code example for importing our
new function in the section [3. Create a mint with close authority]
"mintInfo" is redeclared in the typescript.

Summary of Changes

change "mint" to "token mint account".
add a typescript code example for using an account on devnet while calling "initializeKeypair" in the section [2. Run validator node]
add a typescript code example for importing our new function in the section [3. Create a mint with close authority]
change "const mintInfo" to "let mintInfo" because "mintInfo" is used again in the "CLOSE MINT" code part.

Jeff Wood and others added 3 commits September 27, 2024 09:58
add a typescript code example for using an account on devnet while calling "initializeKeypair" in the section [2. Run validator node]
add a typescript code example for importing our new function in the section [3. Create a mint with close authority]
change "const mintInfo" to "let mintInfo" because "mintInfo" is used again in the "CLOSE MINT" code part.
Copy link
Contributor

@mikemaccana mikemaccana left a comment

Choose a reason for hiding this comment

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

We didn't mean to include this one in the bounty (as it's new and not outdated) but you did find some bugs so fair is fair.

@mikemaccana mikemaccana merged commit 8048f51 into solana-foundation:main Oct 4, 2024
adpthegreat pushed a commit to adpthegreat/developer-content that referenced this pull request Oct 23, 2024
* Update the Token Extensions Program link

* sync token-program.md from main

* change "mint" to "token mint account".
add a typescript code example for using an account on devnet while calling "initializeKeypair" in the section [2. Run validator node]
add a typescript code example for importing our new function in the section [3. Create a mint with close authority]
change "const mintInfo" to "let mintInfo" because "mintInfo" is used again in the "CLOSE MINT" code part.

---------

Co-authored-by: Jeff Wood <wujunadmn@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants