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

Mint

In Mint, it is sent to address 0x0000000000000000000000000000000000000000 as in deployment, and the JSON field is guaranteed to be modified to legal content. The nonce has not been used by itself, it

Key
Required
Description

p

yes

protocol name,lins-20

op

yes

mint

tick

yes

same as deployment.

amt

yes

Mint quantity, not exceeding the limit.

nonce

yes

unique value, timestamp is recommended.

requires attention:

  • Do not mint multiple times in the same block.

like this:

// mint; send 0eth from self to 0x0000000000000000000000000000000000000000;
// The initiator of the transaction is the receiver
{
    "p":"lins-20",
    "op":"mint", //mint operation
    "tick":"lins",
    "amt":"1000", //mint amount
    "nonce":"1"
}

PreviousHow To MintNextDeploy
💻