ERA-20
  • Inscriptions
    • What are Inscriptions?
    • Story of Inscriptions
  • Era-20
    • What is Calldata?
    • Is era-20 decentralized?
    • Is era-20 trustless?
  • What are ERIPs?
    • ERIP-1
    • ERIP-2
    • ERIP-3
    • ERIP-4
    • ERIP-5
    • ERIP-6
    • ERIP-7
  • Explorer
Powered by GitBook
On this page
  1. What are ERIPs?

ERIP-4

Release Date : 12.21.2023 Specification: Era-20 List format

from: your wallet 
to: your wallet


interface List{
   p: string;
   op: string;
   tick: string;
   amt: int;
   price: wei;
}


//Example :
{
   "p": "era-20",
   "op": "list",
   "tick": "tokenname",
   "amt": "100",
   "price": "10000000"
}


To list a token, the wallet must create an inscription transaction in accordance with the List interface when sending (can be zero) Ethereum to itself.

Regardless of the token distribution inscription, a wallet can list tokens, provided that it is less than or equal to the total amount in the wallet.

// Types
"p" => Protocol
"op" => Operation
"tick" => Token Ticker
"amt" => Mint Amount
"price" => List Price
PreviousERIP-3NextERIP-5

Last updated 1 year ago