Deploy

Deployment requires JSON to be prefixed, if the JSON is legal and the check has not been deployed, it is a valid deployment.

When deploying, we need to specify some required fields.

requires attention:

  • Should not sent to address EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c

  • tick is case-insensitive

  • Since different indexes have different versions of JSON, here is a restriction, the last field of JSON cannot have a comma (,).

like this:

// deploy; send 0ton to self wallet;
{
    "p":"ton-20", //protocol name: ton-20
    "op":"deploy", //operation: deploy/mint/transfer
    "tick":"nano", //token tick, can't be repeatable, case insensitive.
    "max":"21000000000000000", //max supply, in nano unit with 9 decimals
    "lim":"100000000000" //limit for each mint, in nano unit with 9 decimals
}

Last updated