Skip to content

feat(stronghold): support secp256k1 curve #2724

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

Open
wants to merge 3 commits into
base: v2
Choose a base branch
from

Conversation

kalloc
Copy link

@kalloc kalloc commented May 28, 2025

No description provided.

@kalloc kalloc requested a review from a team as a code owner May 28, 2025 02:07
Copy link
Contributor

github-actions bot commented May 28, 2025

Package Changes Through 4303383

There are 2 changes which include autostart with minor, autostart-js with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
autostart 2.3.0 2.4.0
autostart-js 2.3.0 2.4.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Copy link
Member

@FabianLars FabianLars left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! I don't think there's anyone from those who worked on the stronghold plugin available at the moment but i'll try my best 😅

For now just a small question (see comment below).

To merge the PR we'll also need a changefile in .changes similar to https://raw.githubusercontent.com/Legend-Master/plugins-workspace/refs/heads/window-state-optional-flags/.changes/window-state-optional-flags.md for example

Comment on lines +188 to +197
GetEvmAddress {
#[serde(rename = "privateKey")]
private_key: LocationDto,
},
Secp256k1EcdsaSign {
flavor: Secp256k1EcdsaFlavor,
#[serde(rename = "privateKey")]
private_key: LocationDto,
msg: String,
},
Copy link
Member

Choose a reason for hiding this comment

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

i couldn't try the changes yet but is this enum not missing a Secp256k1Ecdsa variant?

* @param privateKeyLocation The location of the private key. Must be the `outputLocation` of a previous call to `deriveSLIP10`.
* @returns A promise resolving to the public key hex string.
*
* @since 2.1.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* @since 2.1.0
* @since 2.4.0

* @param privateKeyLocation The location of the private key. Must be the `outputLocation` of a previous call to `deriveSLIP10`.
* @returns A promise resolving to the EVM address
*
* @since 2.1.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* @since 2.1.0
* @since 2.4.0

* @param msg The message to sign.
* @returns A promise resolving to the signature hex string.
*
* @since 2.1.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* @since 2.1.0
* @since 2.4.0

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