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

Integrate ZIP32 functionality for MASP keys #2417

Merged
merged 20 commits into from
Jan 26, 2024
Merged

Conversation

karbyshev
Copy link
Contributor

@karbyshev karbyshev commented Jan 17, 2024

The PR features the following changes:

  • implements ZIP32 functionality for MASP (shielded) keys
  • introduces m/32'/877'/0' as a default derivation path for shielded keys
  • introduces BIP44 / ZIP32 compliance checks for user derivation paths
  • introduces a command line option to allow non-compliant derivation paths

Additionally, the PR undoes some erroneous changes in wallet introduced in 0.28.0 rc1

The PR is based on v0.30.1

  • I have added a changelog
  • Git history is in acceptable state

@karbyshev karbyshev self-assigned this Jan 17, 2024
@karbyshev karbyshev mentioned this pull request Jan 18, 2024
2 tasks
@Fraccaman Fraccaman mentioned this pull request Jan 18, 2024
tzemanovic
tzemanovic previously approved these changes Jan 22, 2024
tzemanovic added a commit that referenced this pull request Jan 22, 2024
* origin/aleks/wallet-zip32-0.30.1:
  Minor refactoring of wallet e2e
  Add changelog
  Introduce flag to allow non-compliant derivation paths
  Fix comment
  Derivation path compliancy checks
  Fix e2e test cases
  Simplify some SDK interfaces
  Store derivation path when adding zip32 key
  Fix return code
  Derive and store maps spending key in the wallet
  Refactor: rename function
  Implement zip32 key generation in wallet
  Add doc comment
  Rename key gen error struct
  Fix zip32 import
  Add derivation paths for zip32
  Refactor: rename derivation path methods
  Purpose constant
  Fix: undo erroneous changes in wallet introduced in 0.28.0 rc1
@karbyshev karbyshev mentioned this pull request Jan 25, 2024
2 tasks
@tzemanovic tzemanovic mentioned this pull request Jan 25, 2024
@tzemanovic tzemanovic merged commit 9a54a81 into main Jan 26, 2024
13 of 15 checks passed
@tzemanovic tzemanovic deleted the aleks/wallet-zip32-0.30.1 branch January 26, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants