The One Question bounty closes Thursday 10 December.

Join in
We Them Media logo We Them Media Support us

Web3bridge Students (Cohort XI) Share What They’ve Learned: IPFS & IPNS

The picture loads from YouTube. The player loads only when you press Play. Turn on captions in the player if you need them.

Web3 Bridge Cohort 11 students explain IPFS, which splits files into chunks, hashes them and spreads them across nodes, and IPNS, a naming layer on top. Because changing a file changes its hash, IPNS lets a stable name point to the updated content.

Not by We Them Media Channel: Web3Bridge. Published Monday 23 December 2024.

Titles are the owner’s. It plays from their channel.

Transcript

This transcript may contain errors. This video belongs to Web3Bridge. Letters mark each change of speaker.

These are the speakers’ own words. We have not checked their claims.

0:00 A: This video is proudly brought to you by VirtueBridge with LIX, our official sponsors for Cohort 11.

0:08 B: In this video, we are talking about IPFS and IPNS.

0:17 C: IPFS is a decentralized storage and sharing platform such that you can use to store your files and share your files anytime In any place. But why do we need IPFS? So in the normal blockchain traditional system, the cost of storage for, uh, for storing files inside a smart contract is costly. And 2, the scalability of blockchain itself. 3, in order to retrieve your files from the blockchain, it's kind of slow and and reduce the latency. So the use of IPFS now is a decentralized file storing platform such that you can store your files and share it. And it has a content- is used for all this content delivery network. How does it work? IPFS works on the 3-level process. One, if you transfer your file to IPFS, It first breaks it down into chunks and hashes the contents of the file. 2, it distributes the hashed file into different nodes such that it will store the files in different places. 3, whenever you want to retrieve the file, the file will be combined together from different nodes and then rehashed together in order to form the original file.

1:44 B: Interplanetary Naming System is a domain name for the IPFS. Now the problem with IPFS is that it is immutable, which is once you create a file and you get a certain hash, you cannot change it. Changing that file changes the hash. So IPNS is the solution to the immutability of IPFS, which means you could map a certain domain name to the hash. And you could change the hash of- you could change your file and the hash changes, but that name still stays. For example, Alice creates a certain file at IPFS and the hash is given. She goes to IPNS and creates a domain name which maps to that IPFS file. Bob can actually access that file by using the IPNS name. So that is how IPNS solves the problem of immutability of IPFS. The use case of IPFS is it helps in decentralization, it helps in, of course, mutability. You could change the file that maybe you make a mistake and you want to update the file. It actually helps solve that problem. And it's also faster.

3:08 D: So IPFS stands for Interplanetary File System, and it's a decentralized system that facilitates file storage and sharing. And IPFS allows you to upload your file to a decentralized storage, and it's kind of like divides this file and saves them on different nodes that are distributed across the world. And a particular problem with IPFS is that once a file is uploaded on IPFS, it cannot be changed. If you change something and then upload it again, you're going to be getting a totally different ID for that particular file. So which is where IPNS comes in. So IPNS helps, um, gives us like the immutability feature to IPFS. So once you upload a file and there's a need to update it, then IPFS can allow you update the file and it still points to the same CID.

More from this hub

Something wrong, or a video you want off this page? Write to wethem.xyz@gmail.com and it is fixed or taken down within 48 hours.