grants-program
grants-program copied to clipboard
CB-2Q23-01.1 : Stacks.rs (Stacks Library for Rust)
Discussed in https://github.com/stacksgov/Stacks-Grant-Launchpad/discussions/854
Originally posted by will-at-stacks March 17, 2023
Introduction:
While sBTC is currently the mission-critical project within the Stacks ecosystem, it is important to also support the development of Stacks Libraries and SDKs. By doing so, developers fluent in various languages will be more compelled to contribute to Stacks projects.
Critical Bounty Mission Statement:
This Critical Bounty aims to support the development of a Stacks Rust Library. Its development will need to be done in conjunction with the Stacks Rust Library (also a 2023 Q2 Critical Bounty). The Stacks Rust Library should comply with either the Apache2 or MIT permissive licensing. Additionally, it cannot depend on any reference implementation for Stacks that is GPL-licensed.
Functionality / Deliverables (shall include, but not be limited to):
- target WebAsm, in this case we can use the library in JavaScript, for example in stacks.js.
- consistent serialization/deserialization Rust and JS ClarityValues into string (Clarity lang).
- Rust library matching functionality of both microstacks and stacks.js.
- Developer documentation deployed to docs.rs
- Crate deployed to crates.io
- Product 'roadshow', feedback, and improvements: All recipients will be responsible for demonstrating functionality, championing early adoption, gathering feedback, and making one to two rounds of high-impact, feedback-based improvements.
Required Knowledge / Skills:
- Experience developing libraries in Rust.
- Familiarity with Javascript and stacks.js
References:
- Clarinet Docs (reference for design system req’d for Typescript applications wrapped within a Rust application)
- TM Repo (code & documentation standard)
- Stacks.rs Discussion
- https://crates.io/crates/pyo3
- https://pypi.org/
Critical Bounty Fee:
- Maximum Fee: $16,000
Reviewers / Advisors:
Igor Sylvester, Core Engineering Lead, Trust Machines Mårten Blankfors, Core Engineer, Trust Machines Sergey Shandar, Core Engineer, Trust Machines Jesse Wiley, Integration and Security Lead, Stacks Foundation Kenny Rogers, Developer Advocate, Stacks Foundation Will Corcoran, Grants Lead, Stacks Foundation
Additional Comments:
Recipient will be expected to attend sBTC Core Engineering Working Group calls while the bounty is in development and provide weekly updates.
APPLY HERE
NOTES ABOUT CRITICAL BOUNTIES:
If you have thoughts, questions, or comments on the rough outline for this Critical Bounty above, please comments below.
Please note, all 2023 Q2 Critical Bounties that have funding approved for them will be moved to the Issues page (here) on Tuesday 03/21/2023.
Some procedural items to keep in mind with 2023 Q2 Critical Bounties:
- Each Critical Bounty will have a pre-approved minimum and maximum budget listed within the issue.
- All applications will be submitted via a BlockSurvey which will be linked within the Issue.
- Applications will be open from 03/21/2023 to 04/03/2023.
- Critical Bounty applications will be reviewed by relevant members of the sBTC Core Engineering Team and technical staff from the Stacks Foundation.
- The selected recipient will be the low, qualified bidder (in the eyes of the reviewers).
- Selected Critical Bounty recipients will be announced on 04/07/2023 and will be expected to start work immediately and attend sBTC Core Engineering meetings to provide weekly updates on their work.