Closed will-corcoran closed 5 months ago
👋 @will-at-stacks Thanks for your application! We will do a pre-review and let you know if we have any immediate questions. In the mean time please refer to our review schedule here for a detailed timeline and response dates. Best, Will
@will-at-stacks @igorsyl I'm still not sure I understand exactly what is in scope for such a library, especially relative to something like https://github.com/hirosystems/stacks-encoding-native-js -- is there a more detailed scope description somewhere?
@diwakergupta sBTC needs a Rust library with no js dependencies.
@diwakergupta sBTC needs a Rust library with no js dependencies.
I get that, I was asking more about exactly what's the scope of this Rust library. Is there a doc that covers the required functionality?
Yes, it's in this issue description.
@rswol Congrats on being awarded this Critical Bounty for $16k
More information on this Critical Bounty can be found here
@rswol please post your original application for the Critical Bounty here for public awareness.
Thanks, Will
I'm also having a hard time understanding the scope of this lib. Have you tried using https://crates.io/crates/clarity-vm? This crate is being produced by this PR, that we should definitely wrap-up: https://github.com/stacks-network/stacks-blockchain/pull/3478.
I'm also having a hard time understanding the scope of this lib. Have you tried using https://crates.io/crates/clarity-vm? This crate is being produced by this PR, that we should definitely wrap-up: stacks-network/stacks-blockchain#3478.
@rswol thoughts?
sBTC team needs to use stacks.js primitives from Rust and we rather not run an embedded JS VM.
Degens team would also find this helpful. With methods to call following the same way as the stacks.js
library, both for read-only
and smart contract calls
it would be easier and more efficient to develop.
The conversion to and from clarity values to the pramming language used ( js/rust ) is also very important. It is very straightforward to convert using stacks.js, by having well defined conversion methods. At the moment in rust it is a process in itself to find how to process the information to do the wanted operations and get the needed values in the right format.
@will-corcoran is this actually completed? If yes, can you include pointers to the deliverables (the Rust create, link to docs, GH repo etc)?
Discussed in https://github.com/stacksgov/Stacks-Grant-Launchpad/discussions/854