Sort:  

IPFS的全称是InterPlanetary File System(星际文件系统),从名称上看,这是一个很炫酷、很有野心的项目。简单地说它就是一个点对点的分布式文件系统。官网和github都可以找到所有的相关资料。建议从它的白皮书,和直译中文版本开始了解,后面我们会慢慢地认识它。白皮书上指出了多个应用场景:

npm install ipfs --global
jsipfs --help
jsipfs init

//默认仓库路径
~/.jsipfs (/root/.jsipfs/config)

//更改仓库路径,set the $IPFS_PATH environment
export IPFS_PATH=/path/to/ipfsrepo

Loading...
Loading...

cnpm install ipfs-http-client --save
//main.js
import ipfsClient from 'ipfs-http-client'
Vue.prototype.ipfs = ipfs //挂载到全局

Congratulations @starnote! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published your First Post
You made your First Comment
You got a First Vote

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Vote for @Steemitboard as a witness to get one more award and increased upvotes!