Operations
Basic SARC-20 operations consist of deploy, mint, and transfer events.
Deploy
To deploy an SARC-20 token, you need to include the following keys with corresponding values in your data. Make sure to set the 'from' and 'to' addresses in the transaction as your own address.
Key | Required | Description |
---|---|---|
p | yes | Protocol Identifier: |
tick | yes | Ticker: 4 letter identifier of the SARC-20 |
op | yes |
|
max | yes | Max Supply |
lim | yes | Mint Limit: max amount can be minted per inscription |
Example:
Mint
To mint an SARC-20 token, you need to include the following keys with corresponding values in your data. Make sure to set the 'from' and 'to' addresses in the transaction as your own address.
Key | Required | Description |
---|---|---|
p | yes | Protocol Identifier: |
tick | yes | Ticker: 4 letter identifier of the SARC-20 |
op | yes |
|
amt | yes | Mint Amount: specify the amount to mint, cannot exceed the mint limit set in deploy event |
Example:
Transfer
To transfer an SARC-20 token, you need to include the following keys with corresponding values in your data. Make sure to set 'to' address as the recipient.
Key | Required | Description |
---|---|---|
p | yes | Protocol Identifier: |
tick | yes | Ticker: 4 letter identifier of the SARC-20 |
op | yes |
|
amt | yes | Mint Amount: specify the amount to transfer, cannot exceed the token amount you hold |
Example:
Last updated