Compiling (Move)
Это содержимое пока не доступно на вашем языке.
aptos move compile
Section titled “aptos move compile”Once you have a package set up, you can compile your Move code by doing:
aptos move compile
If run successfully, you should receive a Terminal output like so
{ "Result": [ "<PUBLISHING_ADDRESS>::<MODULE_NAME>" ]}
Unpacking Build
Section titled “Unpacking Build”Compiled Move packages contain a folder structure that resembles the one below.
Директорияbuild/
Директорияpackage_name/
Директорияbytecode_modules/
Директорияdependencies/
- …
- module_name.mv
Директорияsource_maps/
Директорияdependencies/
- …
- module_name.mvsm
Директорияsources/
Директорияdependencies/
- …
- module_name.move
- BuildInfo.yaml
Директорияscripts/
- …
Директорияsources/
- module_name.move
Директорияtests/
- …
- Move.toml
bytecode_modules
Section titled “bytecode_modules”The bytecode modules folder contains the compiled Move bytecode for your module(s) (such as module_name.mv
).
To learn more about the bytecode and its security features, see why move?
source_maps
Section titled “source_maps”The source maps folder contains source maps (such as module_name.mvsm
) which allow
users to map the compiled bytecode back to the source code and relevant dependencies.