IPNS - Handle Mutable Data
Using IPNS to handle mutable data
Last updated
Was this helpful?
Using IPNS to handle mutable data
Last updated
Was this helpful?
IPNS (InterPlanetary Name System) is a system that allows you to create mutable pointers to data in the IPFS network. In simpler terms, it's like a dynamic address that always points to the latest version of your content. Using the Lighthouse SDK, you can easily create, publish, fetch, and remove IPNS records.
Think of IPNS as a dynamic domain name for your content on IPFS. While IPFS hashes are static and change when content changes, IPNS provides a static address that can be updated to point to new content.
Create an IPNS key
Map the IPNS key with a CID
In case of CID change just update the mapping, the IPNS key remains the same
View the file using: