Skip to content

feat: add autocomplete support for mnemonic seed phrase input#7

Draft
CharlVS wants to merge 4 commits intoKomodo-Community:devfrom
GLEECBTC:add/ui-login-flow
Draft

feat: add autocomplete support for mnemonic seed phrase input#7
CharlVS wants to merge 4 commits intoKomodo-Community:devfrom
GLEECBTC:add/ui-login-flow

Conversation

@CharlVS
Copy link
Copy Markdown
Collaborator

@CharlVS CharlVS commented Nov 26, 2025

Copied from upstream PR GLEECBTC#235

Summary

This PR adds autocomplete functionality to the MnemonicValidator class to support an enhanced UI for the login flow.

Changes

  • Added method: Returns BIP39 words that start with a given prefix, useful for implementing autocomplete when users enter their seed phrases word by word
  • Added method: Provides access to all valid BIP39 words for custom autocomplete implementations
  • Code formatting improvements: Enhanced readability of binary string conversion
  • Updated bundled coins repo commit: Updated to latest commit hash

Usage Example

final validator = MnemonicValidator();
await validator.init();
final matches = validator.getAutocompleteMatches('aba');
// Returns: {'abandon', 'ability', 'about'}

Related

This change supports the UI login flow implementation in the main wallet repository.

- Updated branch from main to hotfix-remove-memorydb-size-metric
- Updated commit hash to 476262f0d3390e24cfe672d5e15a78a46397dbfa
- Updated checksums for all platform binaries (web, ios, macos, windows, android-armv7, android-aarch64, linux)
- Add getAutocompleteMatches() method to MnemonicValidator for prefix-based word suggestions
- Add getAllWords() method to retrieve all valid BIP39 words
- Update bundled coins repo commit hash
- Improve code formatting in binary string conversion

These changes support implementing an enhanced UI for the login flow with autocomplete functionality when users enter their seed phrases.
…d/ui-login-flow

# Conflicts:
#	packages/komodo_defi_framework/app_build/build_config.json
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.

1 participant