LINS-20 Document
  • 🏁INTRODUCTION
    • Overview
  • 🐜GET STARTED
    • How To Mint
  • 💻DEVELOPERS
    • Mint
    • Deploy
    • Transfer
    • Proxy Transfer
    • Freeze sell
    • More
Powered by GitBook
On this page
  1. DEVELOPERS

Deploy

Deployment requires JSON to be prefixed, and then the content encoding is sent to the specified address 0x0000000000000000000000000000000000000000. If the JSON is legal and the check has not been depl

When deploying, we need to specify some required fields.

Key
Required
Description

p

yes

protocol name,lins-20

op

yes

operation type: "deploy" | "mint" | "transfer" | "proxy_transfer" | "freeze_sell". Use "deploy".

tick

yes

token name.

max

yes

max supply.

lim

yes

limit for each mint.

wlim

yes

limit for each address can maximum mint.

dec

yes

decimal for minimum divie.

nonce

yes

don't repeat numbers with yourself.

requires attention:

  • tick itself is case-sensitive, but it is recommended that the index be 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 0eth from self to 0x0000000000000000000000000000000000000000;
{
    "p":"lins-20", //protocol name: ierc20 | terc-20
    "op":"deploy", //operation: deploy/mint/transfer/freeze_sell/proxy_transfer
    "tick":"lins", //token tick, can't be repeatable, case insensitive.
    "max":"21000000", //max supply
    "lim":"1000", //limit for each mint
    "wlim":"10000", //limit for each address can maximum mint, address balance < deploy.wlim (Before mint, please do not receive transfers from others, transfers are also counted as balance)
    "dec":"8", //decimal for minimum divie
    "nonce":"0", //increasing interger
}
PreviousMintNextTransfer
💻