tocwex / fund

A sovereign platform for peer-to-peer economic activity with on-chain settlement and trusted identity assessment of work completion.
GNU General Public License v3.0
1 stars 0 forks source link

add generalized currency indicators #83

Open sidnym-ladrut opened 1 month ago

sidnym-ladrut commented 1 month ago

With the changes in #70, project targets will no longer necessarily be denominated in U.S. dollars, and the user interface needs to be updated in a variety of places to reflect this:

thelifeandtimes commented 1 month ago

Open Question (not urgent):

sidnym-ladrut commented 1 month ago
  • As we go to supporting generalized token support, do we want to manually support new tokens (just raw pulling them in and putting them into a manually upkept list? I assume this is the path we will go at first, but what would it mean to pull in data from elsewhere? how would people request additional token support?

At first we'll just support a static list, but we do want to ultimately add an option for "any contract supporting the ERC-20 standard." If certain coins are used frequently enough, we could even detect this at the blockchain level and integrate them into the app as defaults.

thelifeandtimes commented 1 month ago

Ok, so my thinking on this is as follows:

We have 3 mechanisms for indicating the currency in which an amount is denominated:

Not every token has immediately recognizable unicode characters (no wrapped star unicode, yet), Tickers are long, and Token Icons are really annoying if we drop them absolutely everywhere.

My proposed solution, since we will be doing initial maintenance of the list manually, is to use the unicode characters when available as prefixes, i.e. Ξ 1.4797 or $3,137, and then tickers as suffixes if there is no unicode, i.e. 12.21 $WSTR or 123,324,678 $PEPE. The token icons are then used very sparingly, for example in the following places: