ferrumnet / tokenSupply

MIT License
1 stars 1 forks source link

Add ability to add nonCirculatingSupplyAddressConfig #22

Closed taha-abbasi closed 1 year ago

taha-abbasi commented 1 year ago

A simplified UI to enable user's to add nonCirculatingSupplyConfig will make it easier to provide TokenSupply as a service to projects

taha-abbasi commented 1 year ago

New Features

  1. Admin Dashboard: We've introduced a new admin dashboard that provides users with a user-friendly interface to manage their token supply. This dashboard allows users to easily set up and update Non-Circulating Supply Address Config, making the process more intuitive and accessible.

  2. Backend Functions, Routes, and APIs: We have implemented new backend functions, routes, and APIs to support the admin dashboard and other front-end features. These additions enable seamless interaction between the frontend and backend, providing a cohesive user experience.

    • New API: GET /nonCirculatingSupplyAddresses - Retrieve the list of non-circulating supply addresses.
    • New API: POST /addNonCirculatingSupplyAddress - Add a new non-circulating supply address.
    • New API: PUT /updateNonCirculatingSupplyAddress - Update an existing non-circulating supply address.
    • New API: DELETE /removeNonCirculatingSupplyAddress - Remove a non-circulating supply address from the list.

Improvements

  1. Setup and Update Non-Circulating Supply Address Config: Enhanced the process of setting up and updating Non-Circulating Supply Address Config, ensuring smoother and more reliable functionality. Users can now manage their token supply with ease, directly from the new admin dashboard.

  2. Error Handling: Improved error handling and messaging to provide more informative feedback for users when encountering issues while using the application. This enhancement allows users to quickly identify and resolve problems they might face during setup or updates.

  3. Code Optimization: Refactored the codebase to improve maintainability, readability, and future scalability. This optimization ensures a more robust and efficient application.

Bug Fixes

  1. Fixed XML Error: Resolved an issue where users encountered an XML error when accessing certain routes, such as /updateNonCirculatingSupplyAddressConfig and /setupTokenSupply. Users should no longer experience this issue, allowing for seamless navigation and usage of the application.