0003 XLS-3d Standard for (sharing / deeplinking) signed transactions #26
WietseWind
started this conversation in
Standard Proposals
Replies: 1 comment
-
I suggest we adopt a defacto standard for parsing like: And a canonical standard (that developers should seek to adopt when generating URIs, rather than parsing them) like: This allows some variation in future standards e.g.: Currently finishing up a new release for Toast so unless there are comments left here I'll be coding signed-tx parsing as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently several apps are using a variety of methods to encode HEX signed transactions (to be submitted air gapped);
I feel the best way to implement this, is by allowing Apps to register Deep Links (URI handlers) while keeping the destinations backwards compatible with Web browsers, so users without any app to handle a URI can display a page by the app creator with an instruction.
I propose to allow any URL prefix:
{ any URI with exactly one folder } / { HEX }
So App 1 may use:
https://someapp.com/submitTx/{ HEX }
... While App 2 uses:
https://someapp.com/send-xrpl-tx/{ HEX }
I would propose to limit the amount of slashes before the HEX to a fixed amount of slashes (eg. one folder, as the App 1 and App 2 examples show) so parsers can easily split the URI without having to use regular expressions.
Limitations:
MSIE limits URL parsing to 2,083 chars. Safari 65k chars. Todo: need to test this on modern mobile OS'es.
P.S. Another option (proposal) would be to use a specific syntax (prefix) instead of fixed (one) folder; eg.
https://xrpl-labs.com/xrpl:signed-transaction:<SIGNEDBLOB>
... Where the fixed prefix in this case is
xrpl:signed-transaction:
.Beta Was this translation helpful? Give feedback.
All reactions