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
Set up stellar-address-kit's WASM package to validate and classify Stellar addresses as the user types, with debounced analysis.
Contribution Guide
Implementation Guidelines
src/AddressInput.tsx,src/hooks/useAddressValidation.ts,src/types.tsAddressInput.tsxto call the hook and passresultup via theonResultprop.Expectations
type: G, a valid M-address showstype: Mwith decoded muxed ID, a C-address showstype: Cwith warnings, and garbage input showstype: invalid. All detection happens within 300ms of the last keystroke.