Fixes #36
This PR adds real-time Stellar address validation to the Connect page. When users manually paste a Stellar wallet address, we now evaluate the format in real-time, ping the Horizon SDK to confirm account existence, and simulate pushing the valid account to an indexing service.
- Added
validateStellarAddressutility built on top ofstellar-sdkStrKey functionality. - Created
useStellarAddressValidationhook which handles address state, debouncing (300ms), error handling, and formatting (spaces truncation and uppercase mapping). - Included a mock
indexerServiceto unblock feature completion until the real service (#34) is merged. - Integrated the validation UI logic directly into
app/connect/page.tsx, displaying live animations to indicate"Checking account...","Indexing transactions...", or relevant error messages. - The
Start Wrappingbutton disables automatically while validation/indexing takes place or upon an invalid state. - Supported cases: Invalid format, non-existent networks, successful indexing flow.