IERC Document
  • ๐Ÿ“œIERC Protocol
    • Overview
    • Why use IERC 20?
    • Use Cases and Features
    • Roadmap
  • ๐ŸŒ User's Guide
    • Explore IERC-20
    • How To Mine
    • How To Deploy
    • How To Transfer
    • Market
      • How To Buy
      • How To List
      • How To Bulk Buy
  • ๐Ÿ”IERC Swap
    • How to IERC Swap
    • How to add Liquidity
    • Liquidity providers (LPs)
    • FAQ
  • ๐Ÿ”ฅNew Features
    • PoW&DPoS
    • ๐Ÿ”จHow to PoW&DPoS Mining
    • IERC PoW
      • Phrase I: PoW - Base
      • โ›๏ธHow to Mine
      • Phase II: PoW - Advanced
      • ๐ŸคHow to Participate
    • IERC DPoS
      • ๐Ÿ“’Staking Rules
      • ๐Ÿ’ฆHow to Stake
      • ๐ŸŽRewards Program
    • Tokenomics
    • FAQ
  • ๐Ÿ’ปDevs
    • IERC-20
      • Deploy
      • Mint
      • Transfer
      • Freeze Sell
      • Proxy Transfer
      • Stake
      • Unstake
      • More
    • DINX EVM (beta)
      • RPC
      • Add Token
      • Explorer
      • API
  • ๐ŸคตAmbassador Program
  • โ“FAQ
Powered by GitBook
On this page
  1. Devs
  2. IERC-20

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 has not exceeded the maximum total limit, and it has not exceeded a single number. It is recommended to use a timestamp.

In Mint, we need to specify some required fields.

Key
Required
Description

p

yes

protocol name๏ผŒierc-20, there is no difference between the two.

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.

For example:

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

PreviousDeployNextTransfer

Last updated 1 year ago

๐Ÿ’ป