# 开源合约的二三事 **Published by:** [point](https://paragraph.com/@point/) **Published on:** 2022-09-25 **URL:** https://paragraph.com/@point/00TfGIcl573oP8GAkreu ## Content 写完代码后,请务必确定下项目是否要开源。如果不确定,请在测试环境尝试开源开源大概率会因为这啊那啊的事情导致问题,不能及时开源。血泪的教训,还不止一次。哭开源方法:我比较喜欢的是标准json开源。如果是remix部署,请删除artifacts文件夹重新编译。然后获取build-info文件夹里的图片中的json如果无法开源,看下构造函数中是否有复杂的参数,不如list。有的话请使用这个网站构造参数的abi-encode https://abi.hashex.org/# 然后填入这里 ## Publication Information - [point](https://paragraph.com/@point/): Publication homepage - [All Posts](https://paragraph.com/@point/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@point): Subscribe to updates