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

Add missing functions/implementations of ExtSecretKey, ExtPubKey and DerivationPath in c-bindings #741

Closed
Alesfatalis opened this issue May 1, 2024 · 0 comments · Fixed by #742
Assignees

Comments

@Alesfatalis
Copy link
Contributor

Current c-bindings implementation is missing some useful functions for ExtSecretKey like:

  • get derivation path from ExtSecretKey
  • get secret key from ExtSecretKey
  • get public key from ExtSecretKey
  • derive a new ExtSerectKey based on derivation path

Currently the function ext_secret_key_new in bindings/ergo-lib-c-core/src/ext_secret_key.rs accepts a string as derivation path but should be DerivationPath which needs to be implemented first since it is missing (see below).

Following types are completely missing in c-bindings:

  • ExtPubKey
  • DerivationPath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants