Post
Share your knowledge.
yhant3251
Mar 21, 2025
Expert Q&A
Does `address` type have `Copy` in Move language?
I'm coming from a JavaScript background without Rust experience, and I'm trying to understand the Move programming language. Specifically, does the address
type have the Copy
trait like it does for primitive types? And do I need to use references to pass addresses around in Move?
- Move CLI
- Move
1
1
Share
Comments
Answers
1tomek180
Mar 22 2025, 01:28The address
type in Move is a primitive type, similar to u64
, so you can pass it both by reference or by value. Additionally, there are modules sui::address
and std::address
that offer useful functions related to addresses.
2
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

Reward CampaignJune
- ... SUIderiss+5
- ... SUIRamirez+5
- ... SUIElvin CLONE +5
- ... SUI
- ... SUI
- ... SUI
- ... SUIBritain+2
Bounty Posts