Skip to main content

Module cli

Module cli 

Source
Expand description

Neo DevPack for Solidity CLI Module

Command-line interface for the Neo DevPack for Solidity compiler. This module provides the main entry point for compiling Solidity contracts to NeoVM bytecode.

§Features

  • Single file and multi-file compilation
  • Standard JSON input/output (Solidity compiler compatible)
  • NEF (Neo Executable Format) generation
  • Manifest generation for Neo N3 deployment
  • Multiple optimization levels (0-3)
  • Verbose output

§Submodules

  • bytecode - NeoVM bytecode generation from IR
  • standard_json - Standard JSON compilation interface

§Usage

neo-solc input.sol -o build/
neo-solc --standard-json < input.json > output.json
neo-solc --standard-json --input input.json --output output.json

Structs§

CompilationArtifacts
CompileOptions

Enums§

CompileError

Functions§

compile_contracts
compile_contracts_with_options
disassemble_neovm_bytecode
Disassemble NeoVM bytecode into a human-readable textual listing.
fuzz_process_standard_json_content
Fuzz-only public entry point for the Solidity standard-JSON input parser.
run