# 以太铭符详述

## ETH Scriprune协议使用规范

ETH Scriprune是一个免费的协议。通过一个ETH Scriprune主合约，将所有的铭文操作聚合，然后针对不同的操作进行不同的处理。同时ETH Scriprune还是一个**模块化的协议**，这意味ETH Scriprune是可扩展的，例如我们实现的铭文转移，铭文市场都是通过**模块化**。在后期，我们将会把模块化的权限开放给社区，让社区也有自定义模块的权利，让每个人都能设计自己铭文的能力。

## ETH Scriprune如何工作

ETH Scriprune的工作方式非常简单，用户只需要以可见性明确的声明式数据与ETH Scriprune controller交互，便能体验高效、及时、迅速的铭刻流程，数据的记录是实时的。

<figure><img src="/files/AnTZmVDOSzWjBCNfw0su" alt=""><figcaption><p>Scriprune workflow</p></figcaption></figure>

让我们分别以部署，铭刻，转账为例子，阐述ETH Scriprune的使用方式。

### 部署

用户可以通过将如下的声明，转换成

{% code overflow="wrap" %}

```
{"p":"esr20","op":"deploy","tick":"ESRS","max":"21000000","lim":"1000", "address-lim":"21000"}
```

{% endcode %}

16进制的hex

{% code overflow="wrap" %}

```
0x7b2270223a226573723230222c226f70223a226465706c6f79222c227469636b223a2245535253222c226d6178223a223231303030303030222c226c696d223a2231303030222c22616464726573732d6c696d223a223231303030227d
```

{% endcode %}

发送给controller进行铭符的部署，其中

* p：固定为esr-20，代表铭符协议
* op：deploy，代表部署一个铭符
* tick：ESRS代表部署的铭符名称
* lim：代表单次铭刻的最大值
* address-lim：代表单地址，能mint的最大值，即单地址在铭刻期间，最多只能铭刻 address-lim/lim 次

其中address-lim是铭符协议独有的，他能够让铭符的分发更为公平。

### 铭刻

用户可以通过将如下的声明，转换成

```
{"p":"esr20","op":"mint","tick":"ESRS","amt":"1000"}
```

16进制的hex

{% code overflow="wrap" %}

```
0x7b7b2270223a226573723230222c226f70223a226d696e74222c227469636b223a2245535253222c22616d74223a2231303030227d
```

{% endcode %}

发送给controller进行已部署铭符的铭刻，其中

* p：固定为esr-20，代表铭符协议
* op：mint，代表铭刻一个铭符
* tick：ESRS代表铭刻的铭符名称
* amt：代表单次铭刻的数量

### 转账

用户可以通过将如下的声明，转换成

{% code overflow="wrap" %}

```
{"p":"esr20","op":"transfer","tick":"ESRS","amt":"1000", "receiver":"0x500f883f1d11d91d901d731797dEe1fe20d02b97"}
```

{% endcode %}

16进制的hex

<pre data-overflow="wrap"><code><strong>0x7b2270223a226573723230222c226f70223a227472616e73666572222c227469636b223a2245535253222c22616d74223a2231303030222c227265636569766572223a22307835303066383833663164313164393164393031643733313739376445653166653230643032623937227d
</strong></code></pre>

发送给transfer manager进行已铭刻铭符的转移，其中

* p：固定为esr-20，代表铭符协议
* op：transfer，代表转移一个铭符
* tick：ESRS代表转移的铭符名称
* amt：代表单次转移的数量
* receiver：代表转移的对象


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eth-rune-scription.gitbook.io/eth-scriprune-xie-yi/yi-tai-ming-fu-xiang-shu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
