Beitrag
Teile dein Wissen.
Feb 13, 2025
Experten Q&A
Can I assign a specific ID to a shared object in Move?
I'm trying to create a shared object within the init function of a Move module and want to assign it a specific predetermined ID like 0x123. Is this possible, or do I need to follow another approach?
- Move CLI
1
1
Teilen
Kommentare
Antworten
1Feb 13 2025, 11:09
Nein, Sie können einem gemeinsamen Objekt in Move nicht direkt eine bestimmte UID zuweisen. Das System generiert automatisch eindeutige Identifikatoren für neue Objekte, die in einer Transaktion erstellt wurden, und stellt so deren Eindeutigkeit im globalen Objektpool sicher.
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.
98Beiträge158Antworten
Trendbeiträge