cairo-vm icon indicating copy to clipboard operation
cairo-vm copied to clipboard

Offer a RPC devnet or local node wrapper for `cairo-rs`

Open 0xSidius opened this issue 3 years ago • 4 comments

Would allow Rust developers to opt out of the current Python impl. of starknet-devnet which is a Flask wrapper for the standard Python Cairo VM

0xSidius avatar Sep 15 '22 17:09 0xSidius

@fmoletta hello, any plans for this?

0xSidius avatar Sep 20 '22 16:09 0xSidius

We're currently working on making cairo-rs embeddable in Python as a module, so it should be possible to write a Flask wrapper similar to that. There are currently no plans to do it, but I don't see any reason to reject PRs building that wrapper. Is that what you were asking about?

Oppen avatar Sep 22 '22 17:09 Oppen

We're currently working on making cairo-rs embeddable in Python as a module, so it should be possible to write a Flask wrapper similar to that. There are currently no plans to do it, but I don't see any reason to reject PRs building that wrapper. Is that what you were asking about?

Hi, yes it was thanks, but can you explain why we can't have a Rust-only stack in the future down the line?

0xSidius avatar Sep 24 '22 19:09 0xSidius

There's no stoppers for that. We're still stabilizing some interfaces so you won't yet find the crate in crates.io, but you can still import it with the repo path if you want. Note Python support will still be needed if you use hints outside of those in the standard library.

Oppen avatar Sep 26 '22 10:09 Oppen