Move.

Beitrag

Teile dein Wissen.

mssoni.
Mar 22, 2025
Experten 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
Teilen
Kommentare
.

Antworten

1
Michelle .
Mar 22 2025, 13:19

Wenn Sie externe Pakete in Ihren Vertrag laden, müssen Sie deren veröffentlichte Adresse angeben. Fügen Sie Ihrer Toml-Datei einen Abschnitt wie diesen hinzu:

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

Weißt du die Antwort?

Bitte melde dich an und teile sie.

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

148Beiträge231Antworten
Sui.X.Peera.

Verdiene deinen Anteil an 1000 Sui

Sammle Reputationspunkte und erhalte Belohnungen für deine Hilfe beim Wachstum der Sui-Community.

BelohnungskampagneJuli