2 releases
0.2.3 | Feb 19, 2023 |
---|---|
0.2.2 | Nov 3, 2022 |
0.1.7 |
|
0.1.5 |
|
#12 in #isp
49 downloads per month
79KB
1.5K
SLoC
ISP-SDK
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已发布可供使用。
Usage
English
- Make sure you have enough ICP in your ISP's subAccount to create an ICSP canister
- Make sure you have enough XTC in your pem account to recharge Cycles to ICSP canister, which you can find at sonic to exchange
- Call
isp_sdk::isp::create_icsp
to create your ICSP - call
isp_sdk::icsp::store_file
to store the file - Call other interfaces to complete related operations
Chinese
- 确保你在ISP的子账户(subAccount)有足够的ICP用来创建ICSP canister
- 确保你的pem的账户有足够的XTC来给ICSP canister充值Cycles,你可以在sonic进行兑换
- 调用
isp_sdk::isp::create_icsp
来创建你的ICSP - 调用
isp_sdk::icsp::store_file
来储存文件 - 调用 其他接口来完成相关操作
Architecture
Dependencies
~24–39MB
~691K SLoC