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

wallet: add support for initiating from seed file #172

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

mplatt8
Copy link
Contributor

@mplatt8 mplatt8 commented Feb 13, 2025

No description provided.

@mplatt8 mplatt8 changed the title Add support for --set-seed-with-mnemonic binary arg Wallet: Add support for --set-seed-with-mnemonic binary arg Feb 13, 2025
lib/wallet/mnemonic.rs Outdated Show resolved Hide resolved
Comment on lines 34 to 39
if words.len() != 12 {
return Err(miette!(
"mnemonic must be exactly 12 words, got {}",
words.len()
));
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a hard requirement from our side? Validity of the mnemonic is verified on line 41, and valid mnemonics can be of various lengths

app/main.rs Outdated Show resolved Hide resolved
lib/cli.rs Outdated Show resolved Hide resolved
app/main.rs Outdated Show resolved Hide resolved
@torkelrogstad torkelrogstad changed the title Wallet: Add support for --set-seed-with-mnemonic binary arg wallet: add support for initiating from seed file Feb 14, 2025
@torkelrogstad torkelrogstad merged commit 67c7836 into master Feb 14, 2025
7 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.

2 participants