starknet-native-compile

Crates.iostarknet-native-compile
lib.rsstarknet-native-compile
version0.9.0-rc.0
created_at2025-10-22 21:20:25.902402+00
updated_at2025-12-19 00:10:45.54056+00
descriptionA binary for compiling Sierra contracts with Cairo Native
homepage
repositoryhttps://github.com/lambdaclass/cairo_native
max_upload_size
id1896283
size97,149
Klaus @ LambdaClass (klaus993)

documentation

README

Starknet Native Compile

A binary for compiling Sierra contracts with Cairo Native.

Requirements

See Cairo Native's instructions on how to build this binary properly.

Usage

First, compile a sierra contract class with starknet-native-compile. The contract class format should be compatible with cairo_lang_starknet_classes::contract_class::ContractClass.

starknet-native-compile <CONTRACT_CLASS> <OUTPUT_LIBRARY>

Then, load and execute the shared library with cairo_native::executor::AotContractExecutor.

Commit count: 1286

cargo fmt