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

fix: pass 'version' properly, for 'tprv' and 'testnet' #37

Merged
merged 5 commits into from
Apr 27, 2024
Merged

Conversation

coolaj86
Copy link
Member

@coolaj86 coolaj86 commented Apr 11, 2024

  • 'xprv' and 'tprv' are accepted as strings
  • other xkey versions are accepted as Uint32
  • toWif, toXPrv, and toXPub now correctly pass opts (with version) to DashKeys
  • remove duplicate opts.xkey from fromXKey() definition
  • unexport types for DashHd.utils, which is currently private as Dashhd._utils
  • fromXKey() accepts colloquial "mainnet", "testnet", "xpub", etc

@coolaj86 coolaj86 force-pushed the fix-testnet branch 7 times, most recently from a3100b8 to 8b3c2d8 Compare April 11, 2024 23:47
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@dashincubator/[email protected] None 0 67 kB coolaj86
npm/[email protected] None 0 45.1 kB coolaj86

🚮 Removed packages: npm/@dashincubator/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

@coolaj86 coolaj86 merged commit a485260 into main Apr 27, 2024
2 of 4 checks passed
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.

1 participant