How can I generate an IPFS hash in advance for a file with pure node and no daemon running?

Hi guys I’ve been down the rabbit hole on this for a few days. I’ve read the entire site and gone through the IPFS link course and nothing I do in pure node seems to get the IPFS link I generate to match what IPFS makes. My current strategy is to do a SHA256 of a file and then convert it into Base58, but that never matches the IPFS link. Am I missing a step? Is there a tool for this that doesn’t require the daemon running?

Thank you!

1 Like