deploy

Parameters

Create a new KRC-20 token using the "deploy" function.

{"p": "krc-20","op": "deploy","tick": "kasp","max": "21000000","lim": "1000"}
KeyRequired?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

dec

No

Decimal. Default to 8

pre

No

The amount of tokens allocated to a particular address after deployment.

  • The maximum number of elements in the outputs is 2. outputs[0] represents the deployer address of the KRC-20 token and receiver address of the pre allocated token(If pre is provided). outputs[1] represents the change address.

  • if pre > max, only max amount of tokens will allocate to toaddress

  • To deploy a KRC-20 token, the transaction fee(or gas fee) paid should not be less than 1000 KAS.

Last updated