We are building a reputation system for DAO contributors and the way we do is by aggregating all the contributor activity across on-chain and off-chain systems and then quantify it into a reputation score. We want to put this score along with aggregated data on-chain. What is the best way to put this on-chain?
I was thinking of putting it all on IPFS and then storing a hash on chain but I recently came across Vitalik’s post Where to use a blockchain in non-financial applications?, specifically
Attestations and access permissions. Especially if the data being stored is less than a few hundred bytes long, it might be more convenient to store the data on-chain than put the hash on-chain and the data off-chain.
There are lot of benefits in our case to store this aggregated reputation data on-chain.
My question is, what is the best way to write this data so it’s cheaper to store and update it? Are there best practices, techniques or optimizations I can do to implement this in a contract.