The Interplanetary File System (IPFS) sounds like just the kind of futuristic protocol that would coalesce with blockchain, and its inventor, Juan Benet, has big plans for the two decentralized technologies.
By storing multiple copies of data, the IPFS protocol, heralded as a tool for building a more permanent web, makes data more difficult to erase. Notably, it caught the attention of global warming archivists earlier this year when many worried that US government agency data would disappear under the new administration.
But Benet envisions future blockchain applications as well.
Mainly since blockchains have proven an inefficient and expensive way of storing data, Benet believes data, from webpages to PDFs, can be offloaded to another computing layer like IPFS. Since distributed ledgers can be put on top of IPFS for application building, he calls the two systems a âgreat marriageâ.
âIf you add it to IPFS and take that hash and put it in a block, you can then use IPFS to browse the transaction and browse the file directly on the web,â he told CoinDesk.
Benet continued:
âIPFS connects all these different blockchains in a way thatâs similar to how the web connects all these websites together. The same way that you can drop a link on one page that links to another page, you can drop a link in ethereum [for example] that links to zcash and IPFS can resolve all of that.â
The ethereumâzcash example, which is currently in progress, is an interesting one, since those blockchainâs developers have previously floated the idea of connecting the two blockchains.
So, how does it work? Itâs a bit of a complex process, one thatâs more easily grasped by understanding IPFS and its functionality.
Much like ethereum developers, IPFS developers want to decentralize the internet. The protocol is an experimental replacement for HTTP, the technology currently responsible for delivering webpages like this CoinDesk article to a computer.
But rather than central servers managed by a few companies storing webpages online in the cloud (think Google Docs and emails), IPFS distributes data across a web of computers. A single computer, for instance, could participate in storing a slice of data.
The way this is achieved is through content addressing, hash-linked lists and other technology thatâs still being worked on today.
With this underpinning, data links can be embedded in other places, such as in blockchains.
âWhat we have is a situation where you can create a link. You can go into the ethereum blockchain and issue a transaction that links to zcash. You can browse and access the entire ethereum blockchain and the entire zcash blockchain on IPFS,â Benet said.
Effectively, itâs a way to abstract away from cryptocurrencies.
âImagine youâre browsing one blockchain,â Benet explained. âYou can click through from one to the other, which means that you can write applications that relate the two without those applications having to understand either ethereum or zcash.â
The idea is, if ethereum, zcash and other blockchains can store smaller amounts of data, IPFS can be a tool for linking them and browsing them.
But, while IPFS and MetaMask developers have presented how this would work with the two blockchains, there are still challenges. The biggest hurdle is coming up with one data format to work between all the networks.
If this sounds forward-looking, Benetâs long-term vision is much stranger, and revolved around the âinterplanetaryâ in the protocolâs name.
âYes, we mean it,â Benet said, noting the team is working on versions of todayâs most popular applications available over IPFS in time for people to travel to Mars.
âBy the time SpaceX sends the first people to Mars â or NASA if itâs them â we want people to be able to use their normal computer applications there so that they have a good internet experience,â he said.
The idea is an homage to computer scientist and internet pioneer JCR Licklider, who directed ARPANet, one of the precursors to the internet, Benet said. In one of his early memos, the word internet is actually short for âIntergalactic networkâ.
âHe had this crazy vision of all these computers hooked up together and this network of networks, and then he wanted to extend it to the whole galaxy,â Benet said.
IPFS is then an extension of Lickliderâs original vision, one that cryptocurrency and other blockchain technology have expanded on by added immutability and permanence of data.
For now, however, itâs watch and wait as the idea tries to stand the test of time.
Earth network image via IPFS