deploy
Parameters
Create a new KRC-20 token using the "deploy" function.
Key | Required? | Description |
---|---|---|
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 |
dec | No | Decimal. Default to 8 |
pre | No | The amount of tokens allocated to a particular address after deployment. |
if
pre
>max
, onlymax
amount of tokens will allocate toto
addressTo 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.
Last updated