帖子
分享您的知识。
skywinder271
Jan 17, 2025
专家问答
How can I verify on-chain binary matches GitHub code?
I've got a smart contract on-chain and I need to ensure that its binary matches with the code from a GitHub repository. I've installed the sui client. How can I compile the repo and compare the binary effectively?
- Move Bug
2
2
分享
评论
答案
2Theoremus251
Jan 17 2025, 16:19要验证链上合约二进制文件是否与 GitHub 存储库匹配,您应该在本地克隆存储库并对其进行编译以生成字节码. 获得字节码后,使用特定软件包的 Explorer 字节码查看器将其与链上二进制文件进行比较. 例如,您可以使用 此链接 查看链上字节码. 通过将本地编译的字节码与链上编译的字节码进行比较,您可以验证它们是否匹配.
2
最佳答案
评论
你知道答案吗?
请登录并分享。
Move is an executable bytecode language used to implement custom transactions and smart contracts.
148帖子231答案