4.4 Minting
Minting is defined by the following data structure:
{
"p": "n20",
"op": "mint",
"tick": "note",
"amt": "1000"
... ...
}
| Key | Required? | Description |
|---|---|---|
| p | Yes | Protocol name, n20, lowercase |
| op | Yes | Operation name, mint, lowercase |
| tick | Yes | Token name, up to 12 characters, case-insensitive |
| amt | Yes | Bigint, a large integer representing the quantity mined, must be greater than 0 |
| ... | No | Other variables needed during the Mint operation |
If a smart contract was set during the deployment stage, the Mint operation must pass contract validation.