-
Notifications
You must be signed in to change notification settings - Fork 111
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
Display on FE TVL and Users #139
Comments
Can I be assigned to this ? |
@mimisavage read guideline and feel free to apply to another issue |
I want to take on this issue, can I be assigned? |
I’d like to work on this. |
I want to take on this issue, can I be assigned? |
I'm a javascript dev, a new-comer here. I want to take up the issue and solve it. |
Can I resolve this ? |
To implement this, I’ll update the frontend to dynamically display "TVL" and "Users" by fetching total_opened_amount and unique_users from the /api/get_stats endpoints which will render the response accordingly and accurately. |
I’d like to help with this. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have a deep passion for Web3 and I am currently working as a frontend developer intern at a Web2 company, focusing on Next.js. Additionally, I am an active member of Dojo Coding, a prominent Web3 community in LATAM, which has given me great exposure to decentralized technologies. Recently, I have been working on a project for Base LATAM's Buildathon, where I am gaining hands-on experience in building decentralized applications. I am eager to continue growing and contributing, and see this as a fantastic opportunity to further develop my skills and make a significant impact. This is my first OD Hack, so I will appreciate it if you give me the chance to contribute to this amazing project. Some frontend projects that i have: Also as a fun fact, i like 🍒 How I plan on tackling this issueTo address this issue effectively, here's my plan: I will start by verifying the data structure from http://localhost:8000/api/get_stats to correctly map total_opened_amount as TVL and unique_users as Users. Then, I'll set up the API integration using fetch or axios, with proper error handling and loading states. Finally, I’ll map the data to the frontend UI, ensuring live updates with React’s useEffect and test edge cases like server issues and data format consistency. Upon assignment, I will set up the project following the README.md instructions and open a draft PR within 24 hours. Before submitting, I will ensure isort and black are run on modified files only, add type annotations and docstrings to all new code, and verify successful GitHub workflows. @djeck1432 I would love to contribute to this amazing project! I hope you can give me the opportunity! |
Can I be assigned to this ? I need to fetch data from the /api/ get_ stats endpoint, which returns I'll use JavaScript with the Fetch API to make a GET request to the endpoint. For simplicity, I'll assume a basic HTML structure and use Vanilla JavaScript. Will create a JavaScript function to fetch data from the endpoint. I'll create HTML elements to display TVL and Users, and update them with the fetched data |
May I pick this up? I like 🍒 |
I want to take on this issue, can I be assigned? |
i would hanndke this task in the following way
|
Can I be assigned? |
TVL
=total_opened_amount
andUsers
=unique_users
which you can fetch from Backend endpointThe text was updated successfully, but these errors were encountered: