-
Notifications
You must be signed in to change notification settings - Fork 37
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
jellyfish-wallet
should provide non-hd WalletNode
by default
#453
Conversation
Code Climate has analyzed commit 512e53f and detected 0 issues on this pull request. View more on Code Climate. |
size-limit report 📦
|
Codecov Report
@@ Coverage Diff @@
## main #453 +/- ##
==========================================
+ Coverage 92.98% 97.48% +4.50%
==========================================
Files 10 98 +88
Lines 171 2904 +2733
Branches 19 288 +269
==========================================
+ Hits 159 2831 +2672
- Misses 12 73 +61
Continue to review full report at Codecov.
|
jellyfish-wallet
should provde non-hd WalletNode
by defaultjellyfish-wallet
should provide non-hd WalletNode
by default
Since we are working on naming here, I'm not sure if I understand the term non-hd wallet node, as the term HD node is very specific to HD wallets? |
https://arshbot.medium.com/hd-wallets-explained-from-high-level-to-nuts-and-bolts-9a41545f5b0 Quote: Imo it's either an HD Node or a key pair, a node without the tree is no longer a node |
Perhaps call it |
Make sense, let's call it |
Sure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the implementation again. WalletHdNode
do not really make sense, as how it can perform direct getScript()
and getAddress()
multiple node derivation will be inside HdWalletNodeProvider<WalletNode>
, maybe can just remove WalletHdNode
entirely.
looks good, let's get this merged and we can create a release to sync whale |
What kind of PR is this?:
/kind refactor
What this PR does / why we need it:
To allow non-HdWallet use cases and implementations as not all wallet implementations are HD, we should not enforce HD Nodes.