ipfs_server 0.0.1 copy "ipfs_server: ^0.0.1" to clipboard
ipfs_server: ^0.0.1 copied to clipboard

为Flutter封装的IPFS服务端插件.

ipfs_server #

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

img.png

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()

0
likes
125
pub points
10%
popularity

Publisher

unverified uploader

为Flutter封装的IPFS服务端插件.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on ipfs_server