-
Notifications
You must be signed in to change notification settings - Fork 11
Visualizing The Bidirectionality of Trust Limits #13
Comments
One potential way to do it is to visualize trust limits as two tables: one containing trust issued by the account and trust received by the account. In this way, if there is a bi-directional trust line, it will show up in two tables, each time with the trusted limit of funds in the corresponding direction. As an example, the below account has both trusted and is entrusted by another account for the FAB currency. It has however received trust for a limit of 40 FAB while only entrusting the other party for 20 FAB. All this information is lost in the current representation of trust lines as show in the above post from the same account using the current UI. Thoughts, comments, questions? |
I don't like that so much of the tables will be duplicated, but I think it is better than stuffing 2 more columns into the trust lines table. There will primarily be 2 types of account:
This definitely builds a case for separating it out into 2 tables. (And eventually aggregating trust lines into a more consumable form). My feedback:
@jedmccaleb's feedback:
|
Thanks for the feedback. Here are the two options we are between then: @jedmccaleb's Feedback: I understand the desire to keep Stellar-viewer as a reference app and so the less abstraction applied to the API data, the better. At the same time, just returning the API response in a table still seems confusing to someone exploring the API and trying to understand what exactly results from giving and receiving trust. I personally prefer deckar's version but am happy to defer the final decision to someone on the Stellar team. Thoughts? |
Yeah the two table approach is fine. Thanks! |
Thanks for weighing in Jed! I will update my pull request to reflect these changes! |
When the Trust Lines are displayed on the page, there is no way to distinguish which trust lines the account has set, and which it has received from other accounts. In addition to this, if there is a bi-directional trust line that has been both set and received by two parties, the trust line only shows up once and without the potentially differing trust limits specified for either party.
What must now be decided is how to best display Trust Lines (bidirectional or unidirectional) in such a way that a user can clearly understand which account has entrusted which account and for how much of a given currency.
The text was updated successfully, but these errors were encountered: