0004 XLS-4d Standard URI instructing a wallet to add a trustline #25
RichardAH
started this conversation in
Standard Proposals
Replies: 1 comment
-
to be as backward compatible as possible with defacto existing implementations I suggest any instruction that doesn't explicitly have an action= parameter is default interpreted as a payment instruction. (That said: action=payment should probably be the canonical on XLS-2d) |
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
-
I suggest we follow on closely from the design of XLS-2d
Query parameters:
action=trustline
limit=<integer>
currency=<issuer address>:<currency code>
rippling=true|false (optional, default = false)
I.e.
{ url } ? { trust line instructions }
So for example
anything://any.domain/url/?action=trustline&limit=10000¤cy=rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B:USD&rippling=false
I realise compounding the currency and issuer information is a little tacky here but we did it in the previous standard
Beta Was this translation helpful? Give feedback.
All reactions