# CIA-20 Protocol

The CIA-20 protocol is an exact replica of the[ CRC-20 protocol.](https://docs.coss.ink/protocol/crc-20)&#x20;

### Deploy

```json
// origin
data:,{"op":"deploy","lim":10000,"max":21000000000,"tick":"cias","p":"cia-20"}

//base64
ZGF0YToseyJvcCI6ImRlcGxveSIsImxpbSI6MTAwMDAsIm1heCI6MjEwMDAwMDAwMDAsInRpY2siOiJjaWFzIiwicCI6ImNpYS0yMCJ9
```

<table><thead><tr><th width="249">Key</th><th width="265">Type</th><th>Descriotion</th></tr></thead><tbody><tr><td>op</td><td>string*</td><td>type of operation</td></tr><tr><td>lim</td><td>number*</td><td>limit per inscription</td></tr><tr><td>max</td><td>number*</td><td>total supply</td></tr><tr><td>tick</td><td>string*</td><td>ticker name</td></tr><tr><td>p</td><td>string*</td><td>standard used</td></tr></tbody></table>

### Mint

```json
// origin
data:,{"op":"mint","amt":10000,"tick":"cias","p":"cia-20"}

//base64
ZGF0YToseyJvcCI6Im1pbnQiLCJhbXQiOjEwMDAwLCJ0aWNrIjoiY2lhcyIsInAiOiJjaWEtMjAifQ==
```

<table><thead><tr><th width="249">Key</th><th width="249">Type</th><th>Descriotion</th></tr></thead><tbody><tr><td>op</td><td>string*</td><td>type of operation</td></tr><tr><td>amt</td><td>number*</td><td>Amount to mint: States the amount of the cia-20 to mint. Has to be less than "lim" above if stated</td></tr><tr><td>tick</td><td>string*</td><td>ticker name</td></tr><tr><td>p</td><td>string*</td><td>standard used</td></tr></tbody></table>

### Transfer

```json
// origin
data:,{"op":"transfer","amt":1000,"tick":"cias","p":"cia-20"}

//base64
ZGF0YToseyJvcCI6Im1pbnQiLCJhbXQiOjEwMDAwLCJ0aWNrIjoiY2lhcyIsInAiOiJjaWEtMjAifQ==
```

<table><thead><tr><th width="249">Key</th><th width="249">Type</th><th>Descriotion</th></tr></thead><tbody><tr><td>op</td><td>string*</td><td>type of operation</td></tr><tr><td>amt</td><td>number*</td><td>transfer quantity,  less than the quantity owned</td></tr><tr><td>tick</td><td>string*</td><td>ticker name</td></tr><tr><td>p</td><td>string*</td><td>standard used</td></tr></tbody></table>
