I am working on a project where blockchain will be used on a supply chain. One can create and transfer assets to another in the same.
Whenever one is creating an asset or transferring any asset, that action is being stored in the smart contract's string array.
And the strings quite big, for eg. "Token Tkn56fg2 is created by vendor with ID 4123" or "Tokens Tkn5rts2, Tkn67htf were transferred from vendor 5612 to vendor 4523" and so on...
All these actions are stored so that every action happened till date can be seen by anyone. In the dashboard section of my frontend, I'm taking this entire string array, and displaying these actions as individual actions taken place till date.
My question is, is this a good practice to store the actions in a string array? Obviously this seems like it is not. But since I'm required to store all the actions till date, and also don't want anyone to make changes to these, I'm avoiding storing these in any other databases. Pardon me if my question did not make sense. Also any suggestions to a different approach would be appreciated. Thank you.