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

Extend StrKey to handle xdr.MuxedAccount #330

Merged
merged 4 commits into from
Apr 17, 2020

Conversation

abuiles
Copy link
Contributor

@abuiles abuiles commented Apr 17, 2020

The initial implementation was not compatible with an xdr.MuxedAccount but rather the muxedEd25119 discriminant.

This PR:

  • Extends encodeMuxedAccount to handle the raw data for xdr.MuxedAccount, it can return a G.. or M... account.
  • Extends decodeMuxedAccount to handle G.. or M.. accounts, the result can be used to create a valid xdr.MuxedAccount.

@abuiles abuiles changed the base branch from master to release-v3.0.0 April 17, 2020 14:20
@abuiles abuiles requested review from 2opremio and tamirms April 17, 2020 14:26
src/transaction.js Outdated Show resolved Hide resolved
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.

2 participants