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 validation #4

Merged
merged 1 commit into from
Mar 14, 2018
Merged

Add validation #4

merged 1 commit into from
Mar 14, 2018

Conversation

johansten
Copy link
Contributor

Adds a function to validate mnemonics for user feedback

@chatch
Copy link
Owner

chatch commented Mar 12, 2018

nice. would you mind adding a test case for this in here: https://github.com/chatch/stellar-hd-wallet/blob/master/test/stellar-hd-wallet.js too? you can run "npm test" to check it.

@chatch chatch merged commit 11d7016 into chatch:master Mar 14, 2018
@chatch
Copy link
Owner

chatch commented Mar 14, 2018

merged. thanks!

i'll write the tests for this .. and will release a new npm version soon.

@chatch
Copy link
Owner

chatch commented Mar 14, 2018

published to npm v0.0.5

@johansten
Copy link
Contributor Author

johansten commented Mar 14, 2018

Awesome, I got side tracked with SBC.

I wish validation was more granular in detecting errors, but then we'd have to go down to the bip39 level. ¯\(ツ)

@chatch
Copy link
Owner

chatch commented Mar 15, 2018

no worries. do you mean more specific errors returned rather then just false?

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