deploy
Last updated
Last updated
Create a new KRC-20 token using the "deploy" function.
Key | Required? | Description |
---|---|---|
if pre
> max
, only max
amount of tokens will allocate to to
address
To deploy a KRC-20 token, the transaction fee(or gas fee) paid should not be less than 1000 KAS.
If to
field is not configured, it defaults to the transaction sender address.
p
Yes
Protocol Header. Must be "krc-20"
op
Yes
Operation: Type of event (Deploy, Mint, Transfer)
tick
Yes
Ticker: 4 to 6 letter identifier of the krc-20
max
Yes
max supply of the krc-20, including decimal
lim
Yes
The balance obtained for each mint, including decimal
to
No
The deployer address of the KRC-20 token and receiver address of the pre allocated token(If pre
is provided)
dec
No
Decimal. Default to 8
pre
No
The amount of tokens allocated to a particular address after deployment.