radiant_compile_script
Compile RadiantScript source into a deployment artifact, returning ABI, ASM bytecode, and hex. Uses the rxdc compiler offline to produce deployable output.
Instructions
Compile RadiantScript (.cash/.rxd) source code into a deployment artifact. Returns ABI, ASM bytecode, and hex. Works offline — requires the rxdc compiler binary (set RXDC_PATH env var or ensure RadiantScript repo is a sibling directory).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debug | No | Include source code and source map in artifact for debugging with rxdeb | |
| format | No | Output format: full artifact JSON, ASM text, or hex bytecode | artifact |
| source | Yes | RadiantScript source code to compile |