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

refactor(crypto): use bip32 implementation compatible with node v17+ #105

Merged
merged 2 commits into from
Aug 12, 2022

Conversation

alessiodf
Copy link
Collaborator

Unfortunately the bip32 package used in the HDWallet crypto class is not compatible with Node.js 17 onwards (bitcoinjs/bip32#59) and since we now use Node.js 18 in production, this was a breaking change for us. With no fix in sight, we have switched from that package to @scure/bip32 instead.

Also, it seems like the upstream implementation of the HDWallet crypto class is overly complicated for our needs, so it was pared down as part of this PR.

@Cactus-15-49 Cactus-15-49 merged commit 5c406b8 into develop Aug 12, 2022
@Cactus-15-49 Cactus-15-49 deleted the refactor/bip32 branch August 12, 2022 14:11
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