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

Enhance Contract with Stark Pair Integration #19

Open
neotheprogramist opened this issue Oct 5, 2023 · 0 comments · Fixed by cartridge-gg/cairo-webauthn#23
Open

Enhance Contract with Stark Pair Integration #19

neotheprogramist opened this issue Oct 5, 2023 · 0 comments · Fixed by cartridge-gg/cairo-webauthn#23
Assignees
Labels
enhancement New feature or request

Comments

@neotheprogramist
Copy link
Member

neotheprogramist commented Oct 5, 2023

Description

To further enhance our contract, we aim to embed the functionality of Stark Pair into it.

Background

Specifications

Additional Information

Worth noting that the Stark Pair is the native curve and can be generated on the rust side using the starknet-rs library and verified inside cairo with syscalls.

Tasks

1. Review the Current Contract

  • Engage in a comprehensive understanding of the existing contract from cairo-webauthn #16.

2. Study Stark Pair Documentation

3. Set Up Stark Pair Generation & Verification

  • Use the starknet-rs library to generate the Stark Pair on the rust side.
  • Implement verification inside cairo using syscalls.

4. Develop & Integrate Stark Pair

  • Craft the Stark Pair feature abiding by the guidelines from the documentation.
  • Embed Stark Pair into the current contract, ensuring cohesive functionality.

5. Testing

  • Post-integration, perform rigorous tests to confirm the enhanced contract operates seamlessly with Stark Pair.
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
2 participants