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

feature: XDR serialization of Auth Entries for multi-auth workflow #976

Closed
BlaineHeffron opened this issue May 29, 2024 · 0 comments
Closed

Comments

@BlaineHeffron
Copy link
Contributor

BlaineHeffron commented May 29, 2024

We currently have toJSON and fromJSON methods in AssembledTransaction, as well as txFromJSON in ContractClient, and typed fromJSON methods in the TS Bindings generation in soroban-cli.

This was a first-pass at supporting multi-auth workflows, and is not needed by most use-cases. For multi-auth workflows, we want to support a full-XDR serialization approach, rather than unexpectedly using JSON in this one Soroban use-case.

We need to design a multi-auth workflow that potentially just does toXDR on the specific authEntries to be signed, which could then be sent to other users/machines, then signed and re-serialized, then sent back to the original transaction author, on whose machine it can then be reassembled and submitted.

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

2 participants