Closed mo-jaber closed 4 weeks ago
I am applying to this issue via OnlyDust platform.
My name is Collins Ikechukwu. I'm a full stack blockchain developer developer.
To handle this, I would first ensure that admins (role = 2) have access to the /admin
section with the appropriate permissions. This section will be dedicated to managing the platform's treasury. At the bottom of the page, I’ll create a "Treasury - Deposit History" section, which will display the latest transactions from the master wallet.
The transactions will be sorted by the most recent date and include the following columns: Date, Txid, Raw TX, vout, tx type (which will always be ‘deposit’), and the deposit amount. This provides admins with an organized and detailed view of the treasury's transaction history.
I am applying to this issue via OnlyDust platform.
Hello @mo-jaber, i would love to handle this...
I am applying to this issue via OnlyDust platform.
I have a strong background in full-stack development, particularly in building administrative dashboards for managing resources and user interactions. My experience with blockchain technology and wallet management enables me to implement secure and efficient solutions for treasury management. Additionally, I have worked with real-time data updates and alerts, which will be crucial for ensuring that admins can monitor treasury reserves effectively and respond promptly to low balance situations.
To implement the admin treasury management functionality, I will create a dedicated /admin section for users with the admin role (role = 2). This section will display the total treasury reserves from the master wallet, including amounts in both BSV and Satoshis.
Displaying Treasury Reserves: I will fetch the current balance of the treasury wallet and present it clearly, ensuring that both the BSV and Satoshis values are visible for ease of understanding.
Low Balance Alert: I will implement a warning system that alerts admins when the treasury balance falls below 10 BSV. This alert could take the form of a visual notification (e.g., a red banner) on the dashboard to draw attention to the issue.
"Mine Block" Functionality: When the treasury balance is low, I will enable a "Mine Block" button that allows admins to initiate a fresh batch of BSV to the master treasury wallet. This function will be implemented with appropriate checks to ensure that it can only be accessed when the balance is below the threshold.
Testing and Validation: I will include tests to verify that the treasury reserves are displayed accurately, that alerts trigger correctly, and that the "Mine Block" function operates as intended without any unauthorized access.
User Experience: I will ensure that the interface is intuitive, providing clear instructions and feedback to the admins on their actions regarding the treasury management.
I am applying to this issue via OnlyDust platform.
i have attend tsoc recently and i have experience in this project
I am applying to this issue via OnlyDust platform.
I am a python dev . A new-comer here, willing and ready to contribute to solve the issue.
I am applying to this issue via OnlyDust platform.
I am a React developer with over two years of experience and have recently developed a strong interest in blockchain technology. I have valuable experience navigating codebases and I have recently implemented a similar task for Starknet React by implementing add token hook and writing a test for the hook.
As someone still learning, I am happy to take on the challenge to work on this task.
Clone the project on my pc Spin it up following the documentation Review the existing codebase Implement function Test the function to ensure all use cases are passed Document the function
Hey @mo-jaber most of the requirement for this issue was met by #36 except the mine blcok button|function that should trigger some mining activities.
can you please re-assign me so I create a PR that implement this Also, If i can get some clearity on how we trigger the mining activities
Hello @mo-jaber Please i really wanna work on this. I will deliver a quality work. I understand the project well. And there wont be any mistake from my end anymore. Thanks
@mo-jaber Can i be assigned to this task? i can work on this task and deliver a quality work. Thanks
I can work this sir @mo-jaber .
I’d like to resolve this. I will make a PR as soon as possible
Related to https://github.com/bitcoin-sv/bsv-faucet/issues/17 and https://github.com/bitcoin-sv/bsv-faucet/issues/13
Description: For admins (role = 2) there will be a dedicated section /admin to allow them to see and manage the overall treasury.
Allow an admin to be able to view their amount, and hit a "Mine Block" function if their reserves run below 10 BSV.
This should initiate a fresh batch of BSV to the master treasury wallet.
Acceptance Criteria: