-
Notifications
You must be signed in to change notification settings - Fork 85
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
Create transaction editing experience in a soroban tx edit command #1290
Comments
The goal of this issue is to replicate the The design doc linked above appears to focus more on the tx building flow which is being covered by this other issue: Where-as this issue is focused on a tx text editing experience. We have some decisions to make:
Before anyone works on this feature, highly recommend using |
Here are some examples of how the different formats fair: XDR:
JSON (using
GRON:
JSON5:
TOML:
|
My experience of the above examples is that:
I think we should probably support two formats, JSON (secondary), and We would benefit from an approach that'll work with all XDR types out-of-the-box. And so SEP-11 might be more difficult to achieve that because SEP-11 is focused on transactions only, where-as a GRON-like format which is really just flattened JSON may be more achievable with a similar user experience. We could explore how compatible SEP-11 is with other XDR types as a way to help make this decision. Do others have thoughts? |
This issue is stale because it has been assigned for 30 days with no activity. It will be closed in 30 days unless the stale label is removed, and the assignee is removed or updated. |
the good thing about JSON is that you can count on JSON schema completion within your editor of choice. I'm not sure the same would be available for other formats. |
This issue is stale because it has been assigned for 30 days with no activity. It will be closed in 90 days unless the stale label is removed, and the assignee is removed or updated. |
Completed and released in v22.6.0: #1893 |
Enable transaction editing in text form (in JSON and TOML)
Design doc
The text was updated successfully, but these errors were encountered: