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 wallet address generator binary #1261

Merged
merged 7 commits into from
Oct 6, 2023

Conversation

OBorce
Copy link
Contributor

@OBorce OBorce commented Oct 5, 2023

  • used for generating new seed phrase and addresses for mainnet

- used for generating new seed phrase and addresses for mainnet

pub fn run(args: CliArgs) -> Result<(), CliError> {
ensure!(
args.number_addresses <= 20,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This number should come from the default gap in the wallet, I'd say. Is it possible to do that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed used the LOOKAHEAD_SIZE constant from the keychain

@TheQuantumPhysicist TheQuantumPhysicist merged commit fd87481 into master Oct 6, 2023
23 checks passed
@TheQuantumPhysicist TheQuantumPhysicist deleted the feature/wallet-address-generator branch October 6, 2023 12:14
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.

None yet

2 participants