You are viewing a single comment's thread from:

RE: LeoThread 2025-01-22 00:22

in LeoFinance11 days ago

Part 5/6:

Here’s a brief overview of how the minting works:

  1. Initialize Your Wallet: Use the secret key stored in guid-secret.json to initialize the wallet.

  2. Metadata Variable: Extract metadata from your token.json, including the name, symbol, and metadata URL.

  3. 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.

  4. Transaction Execution: Send the transaction to create and mint the tokens to your wallet.