🐕Deploy (D)

Deploy (D):

Deploy transactions are used to create new tokens on the Dogecoin blockchain.

  • Type: D (Deploy)

  • Action: D

  • Fields:

    • token: The unique identifier for the token.

    • total: The total supply of the token.

    • limit: The maximum amount of tokens that can be minted per one mint.

    • decimal: The number of decimal places the token supports.

Example OP_RETURN Data:

D D TOKEN_NAME 1000000 1000 2

Role of UTXOs:

  • A UTXO is created to hold the data of the token deployment.

  • This UTXO contains the OP_RETURN data with information about the token's creation.

  • It does not represent a balance but serves as a historical record of the token's deployment.

Example Transaction Processing:

Deploy Transaction:

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

  2. Validate Fields: Ensure all required fields (token, total, limit, decimal) are present.

  3. Store Token Data: Save the token details, including the deployer address and block metadata.

Last updated