Skip to content

Add jubjub and bls12377g1 curves support#103

Merged
yogh333 merged 1 commit intomasterfrom
y333/add_curves
Apr 8, 2026
Merged

Add jubjub and bls12377g1 curves support#103
yogh333 merged 1 commit intomasterfrom
y333/add_curves

Conversation

@yogh333
Copy link
Copy Markdown
Contributor

@yogh333 yogh333 commented Mar 24, 2026

No description provided.

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for the bls12377g1 and jubjub curves to the manifest/parameter encoding layer, enabling these curves to be represented in derivation path curve bitmasks.

Changes:

  • Added new curve flag constants and exposed them through the Curve FlagsEnum.
  • Extended manifest derivation path serialization to recognize bls12377g1 and jubjub curve strings.
  • Documented the addition in the changelog.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
ledgerwallet/params.py Introduces new curve bit flags and adds them to the Curve flags enum.
ledgerwallet/manifest.py Adds string-to-flag mapping for bls12377g1 and jubjub during derivation path serialization.
CHANGELOG.md Notes the new curve support in a new 0.10.0 entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ledgerwallet/params.py
Comment thread ledgerwallet/manifest.py
@yogh333 yogh333 merged commit 6c701d5 into master Apr 8, 2026
21 checks passed
@yogh333 yogh333 deleted the y333/add_curves branch April 8, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants