Skip to content

[FEATURE] Real-Time Address Validation and Type Detection #249

@codeZe-us

Description

@codeZe-us

Set up stellar-address-kit's WASM package to validate and classify Stellar addresses as the user types, with debounced analysis.

Contribution Guide

  • PRs go to the dev branch, not main
  • Please application must explain a short specific approach to this task
  • PR description must clearly describe what you built and changed
  • Link your PR to the correct issue number

Implementation Guidelines

  • Key files: src/AddressInput.tsx, src/hooks/useAddressValidation.ts, src/types.ts
  • Update AddressInput.tsx to call the hook and pass result up via the onResult prop.

Expectations

  • What done looks like: Pasting a valid G-address shows type: G, a valid M-address shows type: M with decoded muxed ID, a C-address shows type: C with warnings, and garbage input shows type: invalid. All detection happens within 300ms of the last keystroke.
  • Discord for questions: codeze_us

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions