Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add decompiled source code #845

Open
0xbe1 opened this issue Oct 24, 2024 · 2 comments
Open

[Feature Request] Add decompiled source code #845

0xbe1 opened this issue Oct 24, 2024 · 2 comments

Comments

@0xbe1
Copy link
Contributor

0xbe1 commented Oct 24, 2024

Currently if a module is uploaded with --included-artifacts none we cannot get its source code from PackageMetadata, that's why we're not rendering source code in module /code path.

However, with Revela Decompilor https://revela.verichains.io/, we can at least display decompiled source code. This feature is available on both Revela web app and Aptos CLI, though integrating it with aptos explorer would help devs a lot.

Questions:

  • Do you think it is a worthy add?
  • Is there an easy way to get the decompiled source code in TypeScript? In the worst case we can call Revela API, but that means slow UI
@gregnazario
Copy link
Contributor

I think it could be useful; however, it would probably be a slow UI. It also doesn't support Move 2, so I'm waiting on a decompiler that supports Move 2 before adding any features that may be partially broken.

@0xbe1
Copy link
Contributor Author

0xbe1 commented Oct 25, 2024

I think it could be useful; however, it would probably be a slow UI. It also doesn't support Move 2, so I'm waiting on a decompiler that supports Move 2 before adding any features that may be partially broken.

Is Revela team working on Move 2 support?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants