aptos-labs / aptos-core

Aptos is a layer 1 blockchain built to support the widespread use of blockchain through better technology and user experience.
https://aptosfoundation.org
Other
6.2k stars 3.67k forks source link

[CLI][Feature] Add bytecode to hex option #10595

Open 0xmigo opened 1 year ago

0xmigo commented 1 year ago

Currently when we do aptos move compile, it compiles into .mv file with the bytecode. There are times that the user might want to see or use the bytecode in hex directly.

What we need to do - Need to add an option to output the bytecode to hex.

xbtmatt commented 1 year ago

For what it's worth, aptos move build-publish-payload --json-output-file asdf.json already converts it to hex! Just need to add the flag is all :D

kimdevz commented 3 months ago

Add an option in the aptos move compile command to output bytecode directly in hexadecimal format :)

chanderprakash20 commented 2 weeks ago

Hi Guise issue this what about is it ressolved How I can help ?