1

I have an address with some deployed modules, is there a way for me to translate the Bytecode / ABI info to a file.move so it will be human readable?

Daniel Porteous
  • 5,536
  • 3
  • 25
  • 44
Bob Sfog
  • 105
  • 8

1 Answers1

2

By default, the source for a Move module is included when it is published on chain. If that is the case, you can download it like this:

aptos move download --account 6286dfd5e2778ec069d5906cd774efdba93ab2bec71550fa69363482fbd814e7 --package other

See this answer for much more information on the topic: How do I call a function in a different Move module / smart contract?

As for converting from bytecode to source, this is technically possible, but we have no tooling to support it today. Stay posted!

Daniel Porteous
  • 5,536
  • 3
  • 25
  • 44