# 开源

### **开源参数说明**

* `Optimization`: 是否开启了优化器, 开启后可生成较为精简的汇编代码
* `Runs`: 指定部署代码的每个操作码将在合同的整个生命周期中执行的大致频率
* `Solidity Viersion`: 编译器版本
* `License`: 开源协议

### CORE开源教程：

{% embed url="<https://www.youtube.com/watch?v=MiZkJJTwL4k>" %}

<div data-full-width="false"><figure><img src="/files/vPUwlzaDonuXzVcZ9p16" alt=""><figcaption></figcaption></figure></div>

#### 进入core链验证代码开源。

#### 按以下方法填写自己的合约和选择下图参数。

<figure><img src="/files/tKdszmZCUkBBiECtp4Qd" alt=""><figcaption></figcaption></figure>

#### 复制开源参数面板源代码以及构造参数对应填入源代码，不想要广告的合约代码最上面的平台网址删除就行了。

#### 注意：本平台不需要构造参数即可开源，如果区块链浏览器自动生成了，则给他清空。

<figure><img src="/files/QELrKpQyG7pX9Dc7J8Fh" alt=""><figcaption></figcaption></figure>

#### `Optimization选择‘yes’，选择优化。`

<figure><img src="/files/zRGJVqOA0rb1ed6kYmU0" alt=""><figcaption></figcaption></figure>

#### 设置完成后点击下方的 `Verify and Publish`, 即可完成开源。

<figure><img src="/files/1ZY8T5cMdJo2Ty5L2yFA" alt=""><figcaption></figcaption></figure>

### 🤝 连接 GTokenTool <a href="#lian-jie-gtokentool" id="lian-jie-gtokentool"></a>

* **💬 Telegram社群**：[点击加入官方群组](https://t.me/gtokentool)
* **🐦 Twitter (X)**：[关注我们获取最新动态](https://x.com/gtokentool)
* **📚 官方文档**：[查看 Gitbook 文档](https://docs.gtokentool.com/)
* **💻 开源代码**：[访问 GitHub 仓库](https://github.com/Gtokentool/docs/blob/master/SUMMARY.md)
* **📺 视频教程**：[订阅 YouTube 频道](https://www.youtube.com/@GTokenTool)

> ⚠️ 风险提示与免责声明
>
> GTokenTool 保留随时全权酌情因任何理由修改、变更或取消此公告的权利，无需事先通知。
>
> 以上信息内容仅供参考，GTokenTool 对本平台上的任何虚拟资产、产品或促销活动不做任何推荐或保证。虚拟资产的价格波动很大，投资交易虚拟资产将面临巨大风险。**请谨慎投资。**


---

# 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://docs.gtokentool.com/chuang-jian-dai-bi/open-source.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.
