# Mint

In Mint, You should create a cell on Nervos Network send to your self wallet address. The cell follows these rules:

Firstly, cells corresponding to xudt, Inscription Info, and Omiga Inscription codes need to be included as cell\_deps.

Secondly, the cell containing the Info data should also be included as a cell\_dep.

Then, construct the transaction where one of the outputs has a type\_script generated previously as xudt\_type. The lock should be the user's lock.

The witness field is as follows:

```rust
table XudtWitnessInput {
    owner_script: ScriptOpt,
    owner_signature: BytesOpt,
    raw_extension_data: ScriptVecOpt,
    extension_data: BytesVec,
}
```

Set the minted amount to the mint\_limit quantity. XudtWitnessInput only needs to be filled with the previously generated virtual Owner\_script, and with that, the transaction construction is complete.
