A web host Note that the URL is pointing to the IPFS filesystem.
Finally, in order to make the changes permanent, the following command can be used: $ ipfs pin add QmSxpucr6J9rX3XQ3MBG8cVzLCrQFFKmMkTmpcNpjbtf3j This will show the following output: pinned QmSxpucr6J9rX3XQ3MBG8cVzLCrQFFKmMkTmpcNpjbtf3j recursively The preceding example demonstrated how IPFS can be used to provide decentralized storage for the web part (user interface) of smart contracts.
The Essential Toolkit for Ethereum Smart Contract Development (Part 2)
As storage is a big issue for blockchains, it is desirable that you are able to save large amounts of data somewhere else and place the links to that data in the blockchain transaction.
This way, there will be no need to store large amounts of data on the blockchain and bloat it as a result.
IPFS can be used to achieve exactly that by placing the data on IPFS and then storing the IPFS links in blockchain transactions to reference the stored data.
Ethereum’s own Swarm protocol is also and works on similar principles.
Swarm allows users to run a light client by storing all the blockchain data on it.
This is available with the current version of geth, and a detailed guide is
Why This Matters for Blockchain Technology
A Swarm is formed of these Swarm nodes each of these running the geth client and the Swarm client.
This is derived from the Keccak 256-bit hash of the coinbase address of the geth node.
Swarm is composed of various elements called chunks, hashes, and manifests.
Chunks are simply pieces of data that are limited to 4K per chunk.
Key Points to Remember
- Example Truffle Dapp running on IPFS and served via web host Note that the URL is pointing to the IPFS filesystem.
- As storage is a big issue for blockchains, it is desirable that you are able to save large amounts of data somewhere else and place the links to that data in the blockchain transaction.
- This way, there will be no need to store large amounts of data on the blockchain and bloat it as a result.
- IPFS can be used to achieve exactly that by placing the data on IPFS and then storing the IPFS links in blockchain transactions to reference the stored data.
Going Deeper: Advanced Concepts
This data is identified on the Swarm using a hash, which is generated from the data itself.
Finally, manifest is used to describe the access and storage mechanics of the data.
It specifies hashes, indexes, and relevant filesystem directories to allow URL-based data retrieval.
For decentralized communication in Ethereum, the Whisper protocol provides the decentralized communication layer.
Conclusion
Example Truffle Dapp running on IPFS and served vi represents one of the many innovative layers that make blockchain technology so powerful and transformative. As distributed systems continue to evolve, a solid understanding of these core concepts becomes increasingly valuable — not just for developers, but for anyone building, investing in, or working alongside blockchain-powered systems.
Whether you are just starting your blockchain journey or deepening existing expertise, mastering these fundamentals gives you the tools to think clearly about decentralized systems and make smarter decisions in this rapidly evolving space.