I would like to understand which of the following patterns is better.
Say my use case is to have two types of users in my platform buyer and seller for a product, with regard to my architecture Im left with two options.
- To have one contract which would have a struct defination of types of Users(Buyer/Seller) and Product.
- To have dedicated contract for each module. - Have noticed this in git projects
I belive the product can be achived with both ways, However I would like to understand which approach is better in efficently coding using Blockchain.