I have a contract that includes
post(string memory title, data content) that will store the data to IPFS, returns an IPFS hash and a postId. postId and hash will be linked by a mapping.
reveal(uint256 postId) that is payable and returns the hash associated to the postId.
My question is: can you keep the postId to hash mapping private so that it is known only by addresses that used the
reveal() function? I think this is not possible using ethereum only so then what tools do I need to use?
And it is probably not a good idea to send the data of the posts via the eth blockchain (it can be text, images, videos...) How do I send it to IPFS without going through ethereum but somehow record that this specific data has been uploaded?