Description
MintForm.tsx does not validate the recipient address field before calling mint_tokens. An invalid address causes a confusing RPC error instead of a clear inline validation message.
Tasks
Acceptance Criteria
- Invalid Stellar address shows an inline error
- Submit button is disabled until the address is valid
- Valid address clears the error and enables submission
Description
MintForm.tsxdoes not validate the recipient address field before callingmint_tokens. An invalid address causes a confusing RPC error instead of a clear inline validation message.Tasks
isValidStellarAddressfromutils/validation.tson the recipient fieldAcceptance Criteria