Skip to content

Instantly share code, notes, and snippets.

@mohamadaliakbari
Last active June 21, 2018 08:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohamadaliakbari/db8290a633c65ba3f8da3ed25db70744 to your computer and use it in GitHub Desktop.
Save mohamadaliakbari/db8290a633c65ba3f8da3ed25db70744 to your computer and use it in GitHub Desktop.
Setup IPFS and start earning FileCoin

Prepare enviroment

$ echo 'export IPFS_PATH=/media/mohamadaliakbari/Storage/.ipfs' >> $HOME/.bashrc
$ ipfs init
$ ipfs daemon
  • Check your peers.
$ ipfs swarm peers
  • Simple usage: get an object from network.
$ ipfs cat /ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ/cat.jpg >cat.jpg

Sign up for miners program

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment