ipfs block put - 写入IPFS裸块
ipfs block put <data>
命令将输入数据写入IPFS块。
命令行
ipfs block put [--format=<format> | -f] [--mhtype=<mhtype>]
[--mhlen=<mhlen>] [--] <data>
<data>
- 要存入IPFS块的数据
选项
-f, --format string - 要创建的块格式,默认值:v0
--mhtype string - multihash哈希函数,默认值: sha2-256.
--mhlen int - multihash哈希长度,默认值: -1
说明
ipfs block put
用于将数据存入IPFS裸块,它从标准输入设备stdin读取数据。