
区块链IPFS
软件工程小施同学
区块链、DevOps、小程序、软件工程
展开
-
PHP如何使用IPFS API用法
1. 在windows中安装IPFS;2. 下载PHP版的IPFS接口类文件IPFS.php<?php/* This code is licensed under the MIT license. See the LICENSE file for more information.*/namespace Cloutier\PhpIpfsApi;class IPFS { private $gatewayIP; private $gatewayPort; private原创 2020-09-17 13:40:25 · 1084 阅读 · 0 评论 -
IPFS python api 示例
// 1. 安装ipfsapi$ pip install ipfsapi// 2. 新建python文件,test.py// 接口类型// a. 查看节点IDapi.id()// b. 上传单一文件api.add('test.txt')// c. 上传目录api.add('fake_dir', recursive=True)// d. 查看文件内容api.cat('QmW...原创 2019-11-30 16:28:48 · 734 阅读 · 0 评论 -
Ubuntu IPFS小白安装入门教程
// 1. 下载IPFS安装包// 如果能上外网,可以上http://ipfs.io下载,如果不能,百度下载一个安装包// 安装包选择:go-ipfs_v0.4.19_linux-amd64.tar.gz// 2. 拷贝到Ubuntu虚拟机的Download文件夹中// 3. Ubuntu切换到root权限(要不安装的时候可能出现segmentation fault)$ su ...原创 2019-11-29 21:44:28 · 931 阅读 · 0 评论