I'm new in developing of smart contracts in Ethereum. And I have a principle question:
I want to build a document verification contract. The idea would be that using smart contract(s) a document hash and additional parameters could be send to a smart contract and could be stored there forever.
Later this contract should also be used to verify the document by its hash and providing the additional parameters.
I also would like to store the document forever in a distributed store line ipfs or swarm and bind the hash-address of the store to the smart contract.
My Question to this is, I'm not really sure. If I have one smart contract where all elements (documents) are stored. Or if it would be one smart contract per document which must be deployed.
If the second is a solution how could all smart contracts which belong to this service be collected? Must there be another smart contract to hold this information?
It would be great if someone can give me some tipps how to start.
Programming language should be solidity.
Thanks for your help.