go-stellar-ipfs:一个库,是Stellar和IPFS之间的桥梁

时间:2021-02-02 19:39:36
【文件属性】:
文件名称:go-stellar-ipfs:一个库,是Stellar和IPFS之间的桥梁
文件大小:47KB
文件格式:ZIP
更新时间:2021-02-02 19:39:36
go ipfs horizon stellar IPFSGo 星际ipfs 依存关系 安装 go get -u github.com/aanupam23/go-stellar-ipfs 入门 go-stellar-ipfs是一个充当Stellar和IPFS之间桥梁的库。 它结合了ipfs的低费用和快速速度。 使用此库,您可以非常快速地构建Stellar和IPFS应用程序。 go-stellar-ipfs实现了StellarShell,可帮助您使用预制函数通过恒星事务,备忘录,管理数据将各种类型的数据发送到IPFS,并且还允许读取该数据。 该库分为模块化功能,您可以在应用程序中使用它们。 请参阅以下示例以获取示例用法。 例 一个完整的示例,该示例使用备忘哈希字段以恒星兼容格式实现IPFS数据的添加。 package main import ( "fmt" "github.com/stellar/go/txnbuild" si "github.com/aanupam23/go-stellar-ipfs" ) func main() { kp, _ := keypair.Par
【文件预览】:
go-stellar-ipfs-master
----.gitignore(27B)
----go.mod(194B)
----images()
--------go-stellar-ipfs.png(20KB)
----package.json(550B)
----ipfsdata.go(958B)
----memohash.go(970B)
----status.go(1KB)
----datahash.go(942B)
----CONTRIBUTING.md(713B)
----LICENSE(11KB)
----stellarshell.go(1KB)
----go.sum(30KB)
----README.md(5KB)
----tests()
--------main.go(424B)
--------readmemo.go(407B)
--------sendmemo.go(1KB)
----config()
--------config.md(577B)
----conversion.go(1KB)
----addipfs.go(660B)

网友评论