Operations
Basic SARC-20 operations consist of deploy, mint, and transfer events.
Last updated
Basic SARC-20 operations consist of deploy, mint, and transfer events.
Last updated
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 |
---|---|---|
Example:
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 |
---|---|---|
Example:
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:
Key | Required | Description |
---|---|---|
p
yes
Protocol Identifier: sarc-20
tick
yes
Ticker: 4 letter identifier of the SARC-20
op
yes
deploy
max
yes
Max Supply
lim
yes
Mint Limit: max amount can be minted per inscription
p
yes
Protocol Identifier: sarc-20
tick
yes
Ticker: 4 letter identifier of the SARC-20
op
yes
mint
amt
yes
Mint Amount: specify the amount to mint, cannot exceed the mint limit set in deploy event
p
yes
Protocol Identifier: sarc-20
tick
yes
Ticker: 4 letter identifier of the SARC-20
op
yes
transfer
amt
yes
Mint Amount: specify the amount to transfer, cannot exceed the token amount you hold