Skip to content

Fetch dollar price in the frontend from DUSA #958

@Thykof

Description

@Thykof

Context
Describe / explain why we should do this: motivations, context or other info. Keep it brief and simple - PM

For now, we fetch the USD price of tokens with a CEX API in the backend:

  • loading perfomance issue: the page is slow to appear, we need to wait for the backend to respond
  • we can't have the price of community token that are not listed (PUR, POM...)

How to
List the step-by-step to get it do if needed - PM

Remove the golang code that fetch the dollar price and do this fetch in the frontend asynchronously

Technical details
Give the technical insights so anyone in the team can tackle the tasks - Dev

See Dusa docs https://docs.dusa.io to fetch the price in typescript.

QA testing
Does this task require some QA tests ?
If yes, explain how to validate it

no regression test, improve of the loading time of assets page

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions