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

feat: add support for 12 mnemonic option #515

Merged
merged 6 commits into from
Jan 9, 2020
Merged

Conversation

hanwencheng
Copy link
Contributor

@hanwencheng hanwencheng commented Jan 3, 2020

closes #405

Behavior on iOS and Android as following:

out

@goldsteinsveta do you have any suggestions about the two new buttons?

@hanwencheng hanwencheng added this to the v4.0 HDKD milestone Jan 3, 2020
@hanwencheng hanwencheng self-assigned this Jan 3, 2020
@hanwencheng hanwencheng changed the title WIP: feat: add rust support for different mnemonic size WIP: feat: add support for 12 mnemonic option Jan 3, 2020
@hanwencheng hanwencheng changed the title WIP: feat: add support for 12 mnemonic option feat: add support for 12 mnemonic option Jan 6, 2020
button shoud indicate not own, but phrase's current state
goldsteinsveta
goldsteinsveta previously approved these changes Jan 8, 2020
pmespresso
pmespresso previously approved these changes Jan 8, 2020
Copy link
Contributor

@pmespresso pmespresso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!


function IdentityBackup({ navigation, accounts }) {
const [seedPhrase, setSeedPhrase] = useState('');
const [wordsNumber, setWordsNumber] = useState(12);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate to be so nitty but I think the default should be 24 words, and power users can opt to use just a slightly less safe 12 word mnemonic. Just my opinion, not sure what Gav asked for here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true, the original discussion was using 12 words as an option.

@hanwencheng
Copy link
Contributor Author

fixed with 24 words as default

Copy link
Contributor

@pmespresso pmespresso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hanwencheng hanwencheng merged commit 9d89d6e into master Jan 9, 2020
@hanwencheng hanwencheng deleted the hanwen-12-mnemonic branch January 9, 2020 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.

Feat: add advanced option to allow 12 word recovery phrase
3 participants