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

Add conversions from AccountId and PublicKey to MuxedAccount #396

Merged
merged 4 commits into from
Sep 25, 2024

Conversation

leighmcculloch
Copy link
Member

What

Add conversions from AccountId and PublicKey to MuxedAccount.

Why

The types are largely compatible and while MuxedAccounts are used in transactions applications often only support G addresses and convenient conversions from the AccountId/PublicKey type used for G addresses to the MuxedAccount type for use in transactions would be helpful.

@leighmcculloch leighmcculloch marked this pull request as ready for review September 25, 2024 03:58
@leighmcculloch leighmcculloch requested a review from a team September 25, 2024 03:58
@willemneal
Copy link
Member

This looks great I did something similar in the tx builder PR

stellar/stellar-cli#1551

@leighmcculloch
Copy link
Member Author

@willemneal What other conversions would be helpful iyo?

@leighmcculloch leighmcculloch added this pull request to the merge queue Sep 25, 2024
Merged via the queue into main with commit 67be595 Sep 25, 2024
11 checks passed
@leighmcculloch leighmcculloch deleted the acc-conv branch September 25, 2024 15:57
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.

3 participants