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. INTRODUCTION

Overview

LINS20 is the Linea inscription token protocol, which is responsible for standardizing the inscription token protocol. Anyone can deploy his tokens, mint tokens, and trade tokens on LINS20.​

Indexer

The LINS20 protocol has developed a set of convenient and fast indexes based on Linea and a standard for saving gas fees.

Each event will use hexadecimal to permanently store information in the EVM input, and each data will be stored on the chain to complete the information that cannot be tampered with.

In the case of not sending 0 value, the event should be sent to the black hole address, which is beneficial for the index to obtain information faster.

0x0000000000000000000000000000000000000000

On the content, we use JSON, which is consistent with brc20, but due to the particularity of Ethereum, we need to add a prefix to match the type, so the content of the token inscription needs to be prefixed.

data:application/json,

Followed by JSON, their events are: Deploy\Mint\Transfer\Proxy transfer\Freeze sell.

Here is a simple example:

Deploy
data:application/json,{"p":"lins-20","op":"deploy","tick":"lins","max":"21000000","lim":"1000","wlim":"10000","dec":"8","nonce":"10"}

Mint
data:application/json,{"p":"lins-20","op":"mint","tick":"lins","amt":"1000","nonce":"11"}

Transfer
data:application/json,{"p": "lins-20","op": "transfer","tick": "lins","nonce": "45","to": [{"recv": "0x7BBAF8B409145Ea9454Af339912b9Fb99b2A9","amt": "10000"}]}

Proxy transfer
data:application/json,{"p":"lins-20","op":"proxy_transfer","proxy":[{"tick":"lins","nonce":"20","from":"0x22222222222222222222222222222222222222222222","to":"0x22222222222222222222222222222222222222222222","amt":"333","value":"0.001","sign":"0x000"}]}

Freeze sell
data:application/json,{"p":"lins-20","op":"freeze_sell","freeze":[{"tick":"lins","nonce":"1690465438841","platform":"0x33302dbff493ed81ba2e7e35e2e8e833db023333","seller":"0x22222222222222222222222222222222222222222222","amt":"333","value":"0.001","gasPrice":"33988168450","sign":"0x00"}]}

NextHow To Mint

Last updated 1 year ago

🏁