ipfs_server

Last updated:

0 purchases

ipfs_server Image
ipfs_server Images
Add to Cart

Description:

ipfs server

ipfs_server #
一个支持在移动端使用IPFS服务节点的Flutter插件。目前仅支持Android端

Android #
在项目 build.gradle 文件下的 allprojects 下 repositories 下 加入
flatDir { dirs project(":ipfs_server").file("libs") }
APIs #
开启IPFS

Future<bool?> openIPFS()
关闭IPFS

Future<bool?> closeIPFS()
当前节点信息

Future<String?> getCurrentIdInfo()
通过CID获取本地IPFS文件连接

Future<String?> getUrlByCID({required String cid})
上传一个文件到IPFS,返回CID

Future<String?> uploadFileToIPFS({required String filePath,})
添加节点

Future<bool?> addNode({required String nodeUrl,})
移除节点

Future<bool?> removeNode({required String nodeUrl,})
节点列表

Future<List<String>?> nodeList()

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.