starknet-rs icon indicating copy to clipboard operation
starknet-rs copied to clipboard

Add examples for interfacing with `cairo-rs` (Cleopatra)

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

@xJonathanLEI hi, i wonder if this will wrap cairo-rs and turn it into a Rust devnet, or is Cleopatra going to offer that API already?

0xSidius avatar Sep 14 '22 14:09 0xSidius

Hi. I'm not sure if I'm understanding what you want correctly, but starknet-rs isn't a sequencer implementation, but rather a client library which interfaces with such an implementation. It's indeed possible to wrap cairo-rs (or any other Cairo VM implementation) to create a devnet or even a full sequencer, but I doubt starknet-rs would be of any help.

xJonathanLEI avatar Sep 15 '22 17:09 xJonathanLEI

sorry, yes i am aware of the role of starknet-rs (i.e. ethers for starknet), I am wondering if cairo-rs is going to expose a devnet/node or if it can already do that, so that we won't have to rely on the Python starknet-devnet flask server,

Anyways, i opened a discussion here for this purpose: https://github.com/lambdaclass/cairo-rs/issues/426

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

Closing this as it looks like nothing can be done from our side.

xJonathanLEI avatar Oct 31 '22 07:10 xJonathanLEI