This is a mini decentralized app (DApp) project developed as part of a 7-day Blockchain Development Program conducted by Finance and Economics Club , IIT Guwahati. The original codebase was provided, and we were required to add a few additional features.
- Created a
getTotalRegisteredUsers()function in the Solidity smart contract. - Added a
loadTotalUsers()function in the JavaScript frontend to call this and display the total number of users. - Integrated this within the
registerPersonfunction usingawait.
- Added a
personUpdatedfunction in the Solidity contract to allow users to update their names. - Implemented an
updateName()function in JS to interact with the contract and handle the UI. - Updated the frontend UI accordingly to support name editing.
Developed during the Blockchain Development Program by Finance and Economics Club , IIT Guwahati.
All base code was provided as part of the program.
Paritosh
GitHub: @SandstromPL
