Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop a wasm-able SDK with JS bindings #15

Open
neotheprogramist opened this issue Oct 5, 2023 · 0 comments
Open

Develop a wasm-able SDK with JS bindings #15

neotheprogramist opened this issue Oct 5, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@neotheprogramist
Copy link
Member

neotheprogramist commented Oct 5, 2023

Prerequisite

This development initiative is contingent upon the completion of the extension of the OpenZeppelin Cairo Contract to support multiple signers, as detailed in Issue #14.

Objective

  1. SDK Development: We aim to create an SDK that's wasm-able, allowing for the generation of JavaScript bindings. This will facilitate developers in interacting seamlessly with the updated account contract.

  2. Reference: The current equivalent of our goal for the SDK can be found at cartridge-gg/cartridge webauthn.ts.

  3. Integration with starknet-rs: The SDK should encapsulate the functions provided by starknet-rs.

  4. Future Provisions: An essential future upgrade would be the capability of the SDK to generate session tokens.

  5. Wasm Compatibility: Ensure compatibility with Rust's no_std to confirm wasm-ability.

Acceptance Criteria

  • SDK can be translated to wasm and is in line with Rust's no_std.
  • Creation of JavaScript bindings for the SDK is smooth and hassle-free.
  • Incorporation of functionalities from starknet-rs.
  • Potential addition of session token generation in upcoming versions.
  • SDK functionalities are parallel to cartridge-gg/cartridge webauthn.ts.
@neotheprogramist neotheprogramist added the enhancement New feature or request label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants