> For the complete documentation index, see [llms.txt](https://dipe.gitbook.io/dipe-protocol-on-dogecoin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dipe.gitbook.io/dipe-protocol-on-dogecoin/transaction-types/deploy-d.md).

# 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**:

```mathematica
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.

<br>

<br>
