Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show task rewards in USD #238

Closed
jeisses opened this issue Mar 23, 2024 · 1 comment
Closed

Show task rewards in USD #238

jeisses opened this issue Mar 23, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@jeisses
Copy link
Member

jeisses commented Mar 23, 2024

The task rewards should be displayed in $/tsk.

The conversion of EFX to USD has already been implemented in the SDK. The utility for formatting of amounts in general, e.g. from 2.0342 EFX to $2.03 could perhaps be handled in effectai/effect-js

When running the frontend on testnets (like Jungle4) special attention should be paid as the SDK is not able to calculate EFX conversions there (as there are no Defibox pools to do this)

@jeisses
Copy link
Member Author

jeisses commented Mar 23, 2024

For example in these locations

Image

@Jeffrieh Jeffrieh added the good first issue Good for newcomers label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants