Closed barabanovro closed 4 months ago
Hello! We recently refactored the cairo1-run
crate to also expose a cairo_run_program
function that takes a sierra program and returns the runner, vm, and return values after the run #1601
Closed by #1714
Is your feature request related to a problem? Please describe. The current implementation of
cairo1-run
crate as a CLI restricts its usability in other projects that could benefit from its functionality as a library.Describe the solution you'd like Transform the
cairo1-run
crate into a standalone library that can be used by external projects. Ideally, therun
function would return:Motivation We need it for https://cairovm.codes and https://walnut.dev — projects aiming to build a debugger for Cairo / Starknet.