IPFS点对点超媒体协议

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_35420123/article/details/81974333

新建一个txt文件,内容写入:liyufeng.com

1.安装IPFS

2.ipfs help查看命令

3.打开终端:ipfs add file.txt上传文件到区块,如果上传成功会获取到一个hash结果

4.新建终端:ipfs daemon

5. 打开:http://localhost:5001,链接节点

6.访问我的文件:https://ipfs.io/ipfs/QmWsZCYXs5WaKTGR38hTR6vGYSu3s9yJEgTwozdTRpTx26

猜你喜欢

转载自blog.csdn.net/qq_35420123/article/details/81974333