Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEP-10: muxed account and memo support #57

Open
JakeUrban opened this issue Sep 17, 2021 · 1 comment
Open

SEP-10: muxed account and memo support #57

JakeUrban opened this issue Sep 17, 2021 · 1 comment

Comments

@JakeUrban
Copy link

SEP-10 Muxed Account & Memo Support

SEP-10 now supports authenticating users of shared, pooled, or omnibus Stellar accounts.

These users are either represented using a muxed account (an M... address) or a Stellar account (G...) accompanied by an ID memo.

Changes

buildChallengeTx() or the equivalent function

  • Allow muxed accounts as client account parameter values
  • Add a optional memo parameter that accepts a 64-bit integer representation and attach it to the challenge transaction returned
    • If your language does not support optional parameters, this may be a breaking change
  • Disallow muxed client accounts and memos to be passed in the same call; they are mutually exclusive parameters

readChallengeTx() or the equivalent function

  • Allow muxed accounts as source accounts of the first operation within challenge transactions
  • Add a 64-bit integer representation memo to the return value if present in the challenge transaction
    • Depending on the data type of the return value, this may be a breaking change
  • Disallow muxed client accounts and memos to be present in the challenge transaction; they are mutually exclusive

Implementations

The JS and Python SDKs have implemented this functionality, please use them as references:

@JakeUrban
Copy link
Author

@JakeUrban JakeUrban changed the title SEP-10: muxed account and memo support (SDF) SEP-10: muxed account and memo support Sep 29, 2021
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

No branches or pull requests

1 participant