Crates.io | ISP-SDK |
lib.rs | ISP-SDK |
version | 0.2.3 |
source | src |
created_at | 2022-09-08 11:19:28.123971 |
updated_at | 2023-02-19 09:08:01.205057 |
description | easy to use isp tool |
homepage | https://github.com/PrimLabs/ISP-SDK |
repository | https://github.com/PrimLabs/ISP-SDK |
max_upload_size | |
id | 661022 |
size | 121,150 |
Easy to use isp tool
ISP (IC storage protocol) is a scalable storage protocol built on IC. ICSP acts as an index canister to distribute files to the attached Bucket canister. It supports multiple parallel uploading of large-capacity files, automatic expansion of Bucket, and Http forwarding download and get files, support basic rights management. In addition, there is another storage system that focuses on log records. In addition to supporting basic log upload and download, you can obtain verifiable root records of logs stored on the IC to ensure the traceability of logs. The above construction content is related to The SDK has been released for use.
ISP(IC storage protocol)是一个构建于IC上的可扩展的存储协议,ICSP作为索引canister将文件分发给下挂的Bucket canister中,支持多片并行上传大容量文件,以及Bucket的自动扩容,支持Http转发进行下载获取文件,支持基本的权限管理,此外,另有专注于日志记录的存储系统,除了支持基本的日志上传和下载以外,可以获取在IC上存储的对日志的可验证的树根记录以保证日志的溯源安全性,以上构建内容相关SDK已发布可供使用。
isp_sdk::isp::create_icsp
to create your ICSPisp_sdk::icsp::store_file
to store the file确保你在ISP的子账户(subAccount)有足够的ICP用来创建ICSP canister
调用 isp_sdk::isp::create_icsp
来创建你的ICSP
调用 isp_sdk::icsp::store_file
来储存文件
调用 其他接口来完成相关操作