Universal-Sierra-Compiler is the tool for Sierra compilation. It compiles any ever-existing Sierra version to CASM.
Supported Sierra Versions |
---|
~1.4.0 |
~1.3.0 |
~1.2.0 |
1.1.0 |
1.0.0 |
0.1.0 |
To use the tool, just pass a path to a file with Sierra in json format:
$ universal-sierra-compiler \
--sierra-input-path ./path/to/sierra.json
{"bytecode": ...}
๐ Note
Please, note that the output is in the JSON format.
To automatically save CASM, pass casm-output-path
argument:
$ universal-sierra-compiler \
--sierra-input-path ./path/to/sierra.json
--casm-output-path ./path/to/casm.json