Skip to content

Add Muxed Account (M...) Address Support to Beneficiary Validation #264

Description

@maugauwi-hash

Area: Stellar Address Validation
Priority: Medium
Estimated Time: 2.5 hours

Description:
shared/stellar-validation-spec.md scopes validation to G... ed25519 public keys only. Stellar
also supports muxed accounts (M..., SEP-0023), which some wallets use for sub-account routing. If
a user pastes a muxed address as a beneficiary, both StellarAddress.swift and its Android
counterpart will currently reject it as invalid, even though it may be a legitimate destination.

Tasks:

  • Decide whether muxed accounts should be accepted as beneficiary addresses (product decision)
  • If yes, update shared/stellar-validation-spec.md with the M-address format and update both validators
  • If no, add explicit, distinguishing error copy ("muxed accounts aren't supported yet") rather than
    a generic invalid-address message
  • Add shared test fixtures for muxed addresses either way

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions