4 ms·
My understanding of IPFS is that there is some DNS-and-HTTP translation step that resolves content to IPFS locations. Is that correct, and is it immutable? How
by spenczar5 5y ago
My understanding of IPFS is that there is some DNS-and-HTTP translation step that resolves content to IPFS locations. Is that correct, and is it immutable? How does that work?
- lekevicius 5y agoThere are many gateways that allow viewing IPFS content over HTTP (e.g. ipfs.io), but the "true" IPFS experience is not over HTTP, it's done via P2P and addressed using content hashes. For example, one of my NFTs has content hash of QmTqkpmbKmciQgqhUWpML7dsJ59MBEjgQd7wH853n4ASZM I keep a copy of it on my computer (+ backups). If for some reason it were to be unhosted by every IPFS participant, I could become one, and re-establish my NFT. Image content -> content hash, so everyone would agree about content re-establishing. Not sure if I fully answered your question.
- spenczar5 5y agoThanks, that is indeed a good description. It does sound like this is basically the content hashing Moxie was hoping for.
- mkl 5y agoSpecifically, that gateway (and some (all?) others) needs "/ipfs/" in the URL: https://ipfs.io/ipfs/QmTqkpmbKmciQgqhUWpML7dsJ59MBEjgQd7wH853n4ASZM https://ipfs.io/ipfs/QmTqkpmbKmciQgqhUWpML7dsJ59MBEjgQd7wH85... Took me a while to figure it out, but the docs are here: https://docs.ipfs.io/how-to/address-ipfs-on-web/ https://docs.ipfs.io/how-to/address-ipfs-on-web/ I also ran into several apparently no-longer-functional gateways in lists from just a few months ago. So yes, not the true experience.
- Jtsummers 5y agoContent on IPFS is keyed by hash values. The data is immutable at least to the extent that it's impractical to find a hash collision with sha256 (today). The content will also only remain up so long as someone (either the initial submitter or others) has it pinned. Otherwise, the content will, eventually, disappear.