Intro to IPFS

Storing Files

You can also push files to the network:


creating a file

[email protected]: ~/ $ hash=`echo "I <3 The Blockchain Institute -$(whoami)" | ipfs add -q`

This will generate a hash of your string message and store it at a new ipfs hash url.


Download and read the file

[email protected]: ~/ $ curl$hash
I <3 The Blockchain Institute -alex


Watch out! The above curl request is actually a call to the IPFS web API. This is used as an access layer, and is fairly centralized, however the underlying file system is not.