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

Dynamic Account Index Selection #3967

Closed
salmad3 opened this issue Feb 14, 2024 · 0 comments · Fixed by #3999
Closed

Dynamic Account Index Selection #3967

salmad3 opened this issue Feb 14, 2024 · 0 comments · Fixed by #3999
Assignees
Labels
component:account Related to accounts and account management type:feat To implement new feature.

Comments

@salmad3
Copy link
Member

salmad3 commented Feb 14, 2024

Context:

Based on triaging discussions around #1197, the aim is to introduce a feature that allows users to dynamically select wallet indices. It will allow users to manage multiple wallets within the predefined HD path.

The existing config system does not allow for the selection of different wallet indices within the same mnemonic derivation path. This limitation restricts users to a default wallet index, which can be inconvenient and limit those requiring access to multiple wallets derived from the same mnemonic.

Potential Implementation:

  • Config Enhancement: Extend Ignite's config system to include an option for specifying the account index. This could be a global setting or configurable on a per-account basis to accommodate different use cases.
  • Optional Flag: Include an optional parameter for the wallet index when generating accounts or performing operations that involve account derivation. This ensures that both manual and automated processes can leverage the dynamic wallet index selection feature.
  • Default Behavior: In the absence of a specified wallet index, Ignite should default to using the first wallet (index 0) to maintain backward compatibility and ensure that existing projects and configurations remain unaffected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:account Related to accounts and account management type:feat To implement new feature.
Projects
Status: Done
2 participants