AvailX / avail-wallet

An open source, private, self-custodial wallet. Built on the Aleo network.
https://avail.global
Apache License 2.0
20 stars 7 forks source link

Dashboard Integration #120

Open dev-blc opened 3 months ago

dev-blc commented 3 months ago

COPY OF PR BY @Immadominion #116

Title

Integrated BE logic with TS.

Description

Consumed the Backend with TS and displayed in the UI on the home screen on the mobile dashboard. I just followed the processes as seen on the desktop, nothing new.

Changes Made

  • Consumed endpoints for address
  • Consumed endpoints for total user balance
  • Consumed endpoints for user assets balance
  • Consumed endpoints for user nfts balance
  • Consumed endpoints for user activity history
  • Handled empty case for user assets
  • Handled empty case for nfts
  • Handled empty case for actvity history
  • Commented out the user profit or loss indicator directly below the total balance (The one that show in green or red and is in percentages. As this feature has not been implemented on the backend)

Checklist

Additional Notes

  • Added images from the figma design (Edited the images by merging them on the figma software, then imported them in the code)