Post
Share your knowledge.
How to interact with onchain modules lacking source code?
I'm trying to call an onchain module without its repository or source code using my own module. I attempted to add the address in move.toml, but my build fails. Is there a workaround?
- Move Script
Answers
1Currently, directly calling an onchain module without its source code isn't feasible. One approach is to use a remote or local dependency. You need to get the source code of the required module—a task that some explorers can help with using a decompiler, although it may not always be 100% accurate. Once you have the source code, copy it locally so that your package can reference it. For more details, you can look into the dependencies section of the Move book here.
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.

- ... SUIderiss+5
- ... SUIRamirez+5
- ... SUIElvin CLONE +5
- ... SUI
- ... SUI
- ... SUI
- ... SUIBritain+2