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

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 deployed, it is a valid deployment.

When deploying, we need to specify some required fields.

Key
Required
Description

p

yes

protocol name๏ผŒierc-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 (,).

For example:

// deploy; send 0eth from self to 0x0000000000000000000000000000000000000000;
{
    "p":"ierc-20", //protocol name: ierc20
    "op":"deploy", //operation: deploy/mint/transfer/freeze_sell/proxy_transfer
    "tick":"ethi", //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
}

PreviousIERC-20NextMint

Last updated 1 year ago

๐Ÿ’ป