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.
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
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.
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
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.
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
Example:
Last updated