Part 5/6:
Here’s a brief overview of how the minting works:
Initialize Your Wallet: Use the secret key stored in
guid-secret.json
to initialize the wallet.Metadata Variable: Extract metadata from your
token.json
, including the name, symbol, and metadata URL.Mint Account Creation: Use the Metaplex Candy Machine to create a mint account for your token. Set the token’s attributes including its total supply, which can optionally be set to 1 million tokens.
Transaction Execution: Send the transaction to create and mint the tokens to your wallet.