Post
Share your knowledge.
Feb 13, 2025
Expert 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
Share
Comments
Answers
1Feb 13 2025, 11:09
No, you cannot directly assign a specific UID to a shared object in Move. The system automatically generates unique identifiers for new objects created in a transaction, ensuring their uniqueness in the global object pool .
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.
98Posts158Answers
Trending posts