# 4. ChainIDE - 模板管理

## 1. 首先通过Github账号登陆ChainIDE

首先打开ChainIDE统一入口，点击右上角的sign in按钮，首次登陆需要输入一些用户信息等

![](/files/-MgqWOOYYBUJlHoYRig3)

## 2. 保存项目为私有模板

ChainIDE允许你把自己的项目保存为私有模板。操作步骤如下图所示： 首先登录ChainIDE，然后在仪表盘中把鼠标悬浮到要保存的工程上，最后点击保存按钮。

![](/files/-MkKWXV32b4ER5KFNw_F)

## 3. 登陆后创建私有模板

成功登陆后右上角的sign in按钮变成人物图标，点击人物图标，选择私有模板管理，进入私有模板管理界面。

![](/files/-Mgs0cVJ78eCvR8147Ci)

![](/files/-Mgs7QPu03I_S2-UfpiP)

点击新建模板按钮，填写模板相关信息：模板名称，版本号以及描述。然后点击确定按钮，进入模板编辑页面。

![](/files/-Mgs8ZtQiqsUW-sRDX0f)

进入模板编辑页面首先生成一个空模板，你可以在合约文件中编写你的合约，写完后点击保存按钮，保存为私有模板。（每条链最多新建三个私有模板）

![](/files/-Mgs9e7JbzoHpU881Htl)

![](/files/-MgsCKoF6T8ig7gu8qp1)

然后点击右上角的图标，点击项目管理，点击新建项目选择私有模板的对应链查看。

![](/files/-MgsE-5Ivoc1W6ydrFDT)

一旦用户选择了 "私有模板管理器"，用户就可以编辑、删除和改变模板的名称和描述。如下图所示，如果用户想打开模板，需要选择选项1，如果想删除模板，需要选择选项2，如果想重命名模板名称、其描述或版本，则需要选择选项3。

![](/files/-MkKXRz041Zoy-oVQQWu)


---

# 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://chainide.gitbook.io/chainide-chinese/4.9.-mo-ban-guan-li-mo-kuai.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.
