Move.

Post

Share your knowledge.

mssoni.
Mar 22, 2025
Expert Q&A

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
Share
Comments
.

Answers

1
Michelle .
Mar 22 2025, 13:19

When you load external packages in your contract, you need to specify their published address. Add a section in your toml file like this:

[addresses]
sui = "0x2" // This is automatically derived and you don't need to add it
another_package = "0x123....89"
0
Comments
.

Do you know the answer?

Please log in and share it.

Move is an executable bytecode language used to implement custom transactions and smart contracts.

148Posts231Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

Reward CampaignJune
We use cookies to ensure you get the best experience on our website.
More info