The Token Gate guard restricts minting to token holders of a configured mint account. If the payer does not have the required amount of tokens, minting will fail.
The Token Gate guard contains the following Mint Settings:
Mint: The address of the mint account defining the SPL Token we want to gate with.
Note that, if you’re planning on constructing instructions without the help of our SDKs, you will need to provide these Mint Settings and more as a combination of instruction arguments and remaining accounts. See the Core Candy Guard’s program documentation for more details.
Mint with the Token Gate Guard
JavaScript
You may pass the Mint Settings of the Token Gate guard using the mintArgs argument like so.