Decentralized Review System for Transparent and Accountable Governance
Figure 5-1 : Solana account types reproduced from [ 11 ].
The user account within our review system is designed to store all relevant details pertaining to the user . In addition to basic user information , we also store a count of the total number of reviews submitted by that user . This information is particularly useful when fetching all reviews submitted by a particular user . We want to have genuine reviews and for this purpose we allocate a unique user-id per user . Thus we will have a separate review posting account associate with every user registered without system . Each user can either configure to show his ID as anonymous for the account or per-posted-review basis . On every review-post submission , if the account is configured for showing the user-id along with the review , the system would ask if the user would like to have the user-id invisible / anonymous . This provides a finer control at the granularity of per post basis .
To efficiently store and retrieve this data , our On-Chain Program utilizes a unique identifier provided by our system as a seed to derive a Program Derived Address ( PDA ) for each user . This approach ensures that we can easily and efficiently access all user data when needed without incurring unnecessary overhead or compromising the system ’ s security .
Within our decentralized review system , organization accounts are designed to store all relevant details related to a specific organization . In addition to basic organizational information , we also store a count of the total number of reviews associated with that organization . This information is particularly useful when fetching all reviews of a particular organization .
To efficiently store and retrieve this data , our On Chain Program utilizes a unique identifier provided by our system as a seed to derive a Program Derived Address ( PDA ) for each organization . This approach ensures that we can easily and efficiently access all organizational data when needed without incurring unnecessary overhead or compromising the system ’ s security .
Journal of Innovation 61