🐕
DIPE Protocol on Dogecoin
  • Overview
    • 🐕DIPE | DMT Introduction
    • 💡General Information
  • Transaction Types
    • 🐕Deploy (D)
    • 🐕Mint (M)
    • 🐕Transfer (T)
    • 🐕Split (S)
    • 🐕Combine (C)
  • API Endpoints
    • Retrieve Address Events (UTXOs)
    • Retrieve Wallet Balance
  • Additional Guides
    • 💰Wallet Setup
    • 💵Minting on dipechain.xyz
Powered by GitBook
On this page
  • Mint (M):
  • Example OP_RETURN Data:
  • Role of UTXOs:
  • Mint Transaction:
  1. Transaction Types

Mint (M)

Mint (M):

Mint transactions are used to create new units of an existing token.

  • Type: D (Deploy)

  • Action: M

  • Fields:

    • token: The unique identifier for the token.

    • total: The number of tokens being minted.

Example OP_RETURN Data:

D M TOKEN_NAME 5000

Role of UTXOs:

  • A new UTXO is created for the minted tokens.

  • The minter's address receives a UTXO representing the minted amount, encoded with a value of 0.01 DOGE.

  • Each UTXO represents a specific amount of the minted tokens.

  • Each UTXO is also connected to the token name and amount, ensuring traceability and verification of the minted tokens.

Mint Transaction:

  1. Extract OP_RETURN Data: Decode the hex-encoded string to extract token details.

  2. Validate Fields: Ensure the token and total fields are present.

  3. Update Token Supply: Increase the total supply of the token and record the minting event.

PreviousDeploy (D)NextTransfer (T)

Last updated 10 months ago

🐕