帖子
分享您的知识。
mssoni100
Mar 22, 2025
专家问答
How to fix 'Package dependency does not specify a published address' in Move.toml?
I'm getting an error saying that the package dependency does not specify a published address when trying to publish my Move module. How do I specify the 'published-at' address in the Move.toml file?
- Move CLI
1
1
分享
评论
答案
1Michelle 77
Mar 22 2025, 13:19当你在合同中加载外部包时,你需要指定它们的发布地址. 在你的 toml 文件中添加一个章节,如下所示:
[addresses]
sui = "0x2" // This is automatically derived and you don't need to add it
another_package = "0x123....89"
0
评论
你知道答案吗?
请登录并分享。
Move is an executable bytecode language used to implement custom transactions and smart contracts.
148帖子231答案