How does the requester know the CID before knowing what’s on it?

Expert

How does the requester know the CID before knowing what’s on it?

Answers 1

In the IPFS world, we have IPNS (points to a certain CID). Think of Git, the branches point to the latest commits, and when you create a new commit, the branch pointer updates to the new update. Normally you have some context from somewhere about the CID you want. You have information about the data you want (i.e. an org chart or a picture of a cat) then you find the CID for it.