Skip to content

Validate invalid Stellar address edge cases#465

Open
Gezziy wants to merge 1 commit into
ceejaylaboratory:mainfrom
Gezziy:test-invalid-stellar
Open

Validate invalid Stellar address edge cases#465
Gezziy wants to merge 1 commit into
ceejaylaboratory:mainfrom
Gezziy:test-invalid-stellar

Conversation

@Gezziy
Copy link
Copy Markdown

@Gezziy Gezziy commented May 28, 2026

closes #432
##Summary of Changes
Added shared Stellar Ed25519 public key validation using the official Stellar SDK StrKey.isValidEd25519PublicKey.
Added invalid address edge-case tests for empty, padded, lowercase, bad-checksum, S..., M..., C..., and non-string values.
Applied validation to SEP-24 deposit/withdraw account inputs.
Reused the shared validator in batch and recurring payment flows.
Prevented invalid address values from being echoed in validation errors.
Fixed malformed backend tsconfig.json so targeted tests can run.

##Reason for Changes
This addresses QA issue #432 by ensuring invalid Stellar addresses are rejected consistently and safely across relevant backend payment boundaries before testnet deployment.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@Gezziy Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

[QA] QA: Edge case testing of invalid Stellar addresses

2 participants