-
Imagine that the Internet is a huge library, and each book has a specific location, just like the URLs we usually use to find websites. However, if that book is moved or the library is closed, we can't find that book. This is a problem with the Internet today: information is located by its position.
-
IPFS (InterPlanetary File System) proposes a new idea: instead of finding a book by its location, find it by its content. Each book has a unique fingerprint, and as long as you know this fingerprint, you can find the book no matter where it is. This fingerprint is what we call an IPFS address.
What is an IPFS address?#
In simple terms, an IPFS address is like a special code that represents the content of an image, a document, or any information. This code is generated based on the content, so different content results in different codes. With this code, you can find this information on the IPFS network, no matter where it is stored in the world.
Why are IPFS addresses important?#
Unique: Because IPFS addresses are generated based on content, as long as the content remains the same, the address will not change, and you can always find the original information through it.
Location-independent: Information can be stored on any computer corner of the world, and you can access it through an IPFS address without worrying about whether the original website or server is still running.
More secure: Because information is distributed, it is not easily deleted or tampered with, making the information more secure and reliable.
What does an IPFS address look like?#
- An IPFS address typically starts with "/ipfs/" followed by a string of letters and numbers, such as "/ipfs/QmTzQ1N7iBpKu3Hn2q7sNt6uMV9uP8qujFbJh3gJ8L8Vbj". This is how an IPFS address looks, and with this address, you can find the corresponding content on the IPFS network.
In simple terms, an IPFS address is like a fingerprint identification for every piece of information on the Internet. With this fingerprint, no matter where the information is, you can find it. This makes the Internet more open, permanent, and secure.
- File content is the original data that needs to be added to the IPFS network.
- Hash calculation represents the process of hashing the file content to generate a unique hash value.
- Hash value is the unique identifier of the file content, ensuring the uniqueness of files in the IPFS network.
- IPFS address consists of the /ipfs/ prefix and the file's hash value, used to locate files in the IPFS network.
- Adding to the IPFS network represents the process of adding file content and its hash value to the IPFS network.
- IPFS network represents a decentralized storage network where nodes can store and provide file content.
- Node1 to NodeN represent different nodes in the IPFS network, which can hold copies of files.
- Accessing via IPFS address demonstrates how users can retrieve files from any node on the network using an IPFS address.