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.

Example:

data:,{"p":"sarc-20","op":"deploy","tick":"sarc","max":"21000000","lim":"1000"}

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.

Example:

data:,{"p":"sarc-20","op":"mint","tick":"sarc","amt":"1000"}

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.

Example:

data:,{"p":"sarc-20","op":"transfer","tick":"sarc","amt":"1000"}

Last updated