JoinColony / colonyCDapp

An iteration of the Colony Dapp sporting both a fully decentralized operating mode, as well as a mode enhanced by a metadata caching layer
5 stars 14 forks source link

Add avatars and thumbnails for Native Chain Tokens #2816

Open iamsamgibbs opened 4 months ago

iamsamgibbs commented 4 months ago

Specification

Description

Typically the metadata (including the avatar and thumbnail) for our tokens is stored in the database, which is used when we display them in the app, such as on the balance page, the token select when making payment actions, etc.

The native chain token is different, we don't store it in the database, and as such we don't have any metadata for it. The issue is to add avatar and thumbnail data for each of our supported chains.

The DEFAULT_NETWORK_TOKEN is added to the colony context here: src/apollo/cache/colony/tokens.ts The different tokens can be found TOKEN_DATA here: src/constants/index.ts

Design

Will need to source token logos / ask product to provide.

Implementation

This issue is complete when...

rdig commented 4 months ago

I've assigned myself to this, as my point with this is to put in the bases to for moving all images to S3 storage and away from base64 strings

jakubcolony commented 2 months ago

I got a request from @arrenv to update Ethereum native token name to Ethereum and its avatar to the following image: image

At the moment that is blocked by this issue, so leaving a comment for once we are able to do so.