Skip to main content

Command Palette

Search for a command to run...

如何向以太坊社区提交一个eip?

Published
2 min read

如何向以太坊社区提交一个EIP?

前言

  • 以太坊社区需要构建,早期建设者会得到真实的价值回报。
  • 其他公链创造力很多是依靠以太坊社区,这也是以太坊社区的生命力所在。
  • 除了炒币,支持或者参与创造到社区的规划和建设中来,是非常有价值的。
  • EIP是以太坊提升提案,用来讨论任何有意思的建议,EIP721也就是NFT是之一,来自于Lara Labs。
  • 嗯,我来自于jLabs.tech.

Resource

  • URL:https://github.com/ethereum/EIPs/issues/new
  • 模板:https://github.com/ethereum/EIPs/blob/master/eip-template.md

注意事项

  • 首先深度阅读EIP-1:https://eips.ethereum.org/EIPS/eip-1

  • 要点下面会列出。

  • ATTENTION! If you would like to submit an EIP and it has already been written as a draft (see the template for an example), please submit it as a Pull Request.

  • If you are considering a proposal but would like to get some feedback on the idea before submitting a draft, then continue opening an Issue as a thread for discussion. Note that the more clearly and completely you state your idea the higher the quality of the feedback you are likely to receive.

    Keep in mind the following guidelines from EIP-1:

    Each EIP must have a champion - someone who writes the EIP using the style and format described below, shepherds the discussions in the appropriate forums, and attempts to build community consensus around the idea. The EIP champion (a.k.a. Author) should first attempt to ascertain whether the idea is EIP-able. Posting to the the Protocol Discussion forum or opening an Issue is the best way to go about this.

    Vetting an idea publicly before going as far as writing a EIP is meant to save the potential author time. Asking the Ethereum community first if an idea is original helps prevent too much time being spent on something that is guaranteed to be rejected based on prior discussions (searching the Internet does not always do the trick). It also helps to make sure the idea is applicable to the entire community and not just the author. Just because an idea sounds good to the author does not mean it will work for most people in most areas where Ethereum is used.

    Once the champion has asked the Ethereum community as to whether an idea has any chance of acceptance, a draft EIP should be presented as a Pull Request. This gives the author a chance to flesh out the draft EIP to make properly formatted, of high quality, and to address initial concerns about the proposal.

解释

  • 提案首先是有了一些上下文和想法,思考,大多数来自于实际的工作和开发中遇到的问题和困难,发现需要改进以太坊会更好。
  • 例如社区项目在参与到元宇宙建设过程中,发现如果定义一套标准,会更有利于开发,而这套标准贡献给社区,能够帮助别人提升效率,也可以提升彼此的交互效率。
  • EIP的提交过程,提供了如何说清楚、说明白的标准。

讨论

  • 首先要有一个champion,也就是主笔作者。
  • 然后在对应社区讨论,一般是github上建立一个issue(例如721的https://github.com/ethereum/eips/issues/721)或者一个论坛帖子:the Ethereum Magicians forum
  • 讨论过程需要ascertain whether the idea is EIP-able,是不是值得和能够去建立一个EIP。
  • 另外,在写一个EIP之前,最好公开的讨论这个idea,询问以太坊社区是否可行,可以防止浪费太多时间在不必要的idea。
  • PS: 魔法师论坛的readme:https://ethereum-magicians.org/t/welcome-please-readme-first/8,发现需要很多时间逛一逛,熟悉规则。
  • 如果询问和讨论社区后,你的帖子大家觉得有机会接受,则提交一个提案草稿。

草稿

  • Fork EIP库,像我这样:fork
  • 图床可以访问,为啥不显示?先不管了
  • 使用模板template 撰写你的EIP,这里面有一大堆的概念,但先写再说。
  • 完成草稿后,提交一个Pull Request,嗯,就是传说中的PR,哈哈。
  • 提交后会被review,例如周博士的EIP4972:https://github.com/ethereum/EIPs/pull/4972

状态

  • 提交PR后,社区核心审核人群:This PR requires review from one of [@lightclient, @axic, @SamWilsn]
  • 反复沟通格式、表述,直到草稿被merge,则进入了EIP的状态列表。
  • 状态列表很复杂
  • Status
  • 核心是:Idea-->Draft-->Review<-->Last Call-->Final
  • Review会进入Living状态,反复迭代修改
  • 也可能进入Stagnant的停滞状态。

其他

  • 以太坊工作PM会议:https://github.com/ethereum/pm,包括议程,记录,对应twitter记录和视频。
  • 例如最近一次会议讨论记录:https://github.com/ethereum/pm/blob/master/AllCoreDevs-Meetings/Meeting%20134.md
  • Kiln和beacon chain的进展等等,目前我个人不清楚是否可以未经邀请去添加自己的agenda以及参与会议,看起来需要成为pm?。
  • 本文会发布在Dapp Learning社区:https://github.com/Dapp-Learning-DAO/Dapp-Learning,以及个人Blog(jLab.tech)

如何撰写一个EIP?请看下一篇文章

More from this blog

让你的私钥随时更换,可以四处旅行

是的基于社交恢复和社区运行的TEE KMS,普通个体的私钥可以依赖多层安全机制:passkey+Email+社区KMS(硬件安全)+AA多签(可适配多种签名机制,增加抗量子签名模块)。听起来非常棒!是人类数字未来中需要的东西。下面是我的一个研究项目,进行中,有经验的大牛可以指点一下(嵌入式和硬件钱包开发、TEE、抗量子等等)。 STM32MP157F-DK2 Development Project STM32MP157F-DK2 开发项目 🇬🇧 Jump to English Vers...

Jan 25, 20263 min read

人性之光-以自由之名

以自由之名 v0.1.5 有点怪怪的标题,原谅理工男的简单和直接。 先分享一点感触和认知:某个角度看,人性是想象力、创造力和情感,是人类独有的特质。 人性是区别于AI和机器人,以及其他生命和造物的独有内核。人性是一种对自由的追求:发挥你的想象力、创造力,拥有自己的情感,是人存在的一种方式,这种方式,称为自由。 作为普通个体,想在人类社会拥有自由,除去国家和法律赋予的基础保障和基本权利之外,哈耶克有个观点是时间、空间和选择的范围,是自由的基础保障;而福柯则反向给出了规训的方式:时间空间和力量(并非...

Jan 25, 20261 min read

How to play with AI vibe coding?

我们要和 AI 沟通,要总结几个经验,供大家参考(血泪教学,迭代无数次): 三个重点 重设计、三层文档体系、渐进式开发。 第一点 最重要就是设计一定要占据你开发时间的一半以上,包括研究,包括和 AI 的交互讨论,包括提取一些专题,然后跟其他的 AI 交流生成深度的报告,包括自己阅读相关的报告和分析,以及一些范例的 repository。 第二点 要完整的文档体系,不管哪一种,都要跟随文档体系来去不断地迭代你的和 AI 交互的过程;我现在使用的是,嗯,三层的文档管理体系。第一层呢是backlog...

Aug 17, 20252 min read

It is Fun for me.

jFlow: from research to production 创新之路:最有趣的探索之路。 创新之路 Road of Exploration Research Input=Idea:描述你的 idea,进行严谨的论证过程,逻辑结构类似于缩小版本的 SCI 论文。通过分析论证,得出结论,是真正有价值创新。 output=Solution:定义你的产品,包括产品定位、目标用户、核心功能、商业模式,让团队、社区、早期投资者、用户、合作伙伴等,都快速了解你的产品的价值所在。 Devel...

Aug 12, 20251 min read

我的AI小助手:RAG 本地测试记录(updating...)

预期: 数据: 本地个人计划和隐私、正常论文相关的科研、业界跟踪和研究分析,三大类都存储在本地,不要流出个人电脑。 初步的7B模型(本人MiniMac的上限)进行大体分析。 可以使用外部deepseek和grok,claude等外部API,但沟通内容是隔离和脱敏的,最简单就是7B分析的结论,进行隐私脱敏(自行设定脱敏规则)和单独目录存储(独立知识库),这个动作是离线断网进行。 然后针对沟通外部的独立知识库,可以充分利用外部大模型能力。 个人计划是使用雷电连接mac book和mac m...

Mar 15, 20251 min read

jLab

69 posts

It is my Lab for curiosity!