Jonathan LEI

Results 191 comments of Jonathan LEI

Yeah it is. See the linked page for benchmark.

Well you can use the Rust lib from C++ as well. You'll need to create a wrapper crate that exposes the C api but it's possible. Honestly that's likely your...

> Wouldn't that have a big overhead? Never done that Nope it's just like linking to any other library. Rust does not have a runtime. Might be helpful: - https://parallel-rust-cpp.github.io/cpp_abi.html...

I would love to have such instructions implemented as an example (specifically with [cxx](https://github.com/dtolnay/cxx)). Created an issue to track it: https://github.com/xJonathanLEI/starknet-rs/issues/325 However I'm currently too busy to put it together....

@rbdm-qnt https://github.com/xJonathanLEI/starknet-rs/pull/328

> Please, if you could provide any basic example of usage of the Sign method Hey man my last comment was exactly just that. It's a CMake example: https://github.com/xJonathanLEI/starknet-rs/tree/master/examples/starknet-cxx

> I can't find it in the directories "starknet_cxx_bridge/lib.h" Yes it's generated by `cxx`. It should live somewhere inside the `build` folder once you build it. Pretty sure you can...

Yep yep it was just to make the bindings example simpler. Glad you figured it out! It's great that you found the lib helpful!

@rbdm-qnt Hi. When using correctly all the Rust methods have been tested to generate exactly the same output as their Python counterparts. I've also verified that using `ecdsa_sign` from C++...

I tested this branch on my Linux box, my M1 MacBook, and a GitHub Actions macOS runner. All working great.