在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:aanupam23/go-stellar-ipfs开源软件地址:https://github.com/aanupam23/go-stellar-ipfs开源编程语言:Go 100.0%开源软件介绍:go-stellar-ipfsDependenciesInstall
Getting Startedgo-stellar-ipfs is a library that acts as a bridge between Stellar and IPFS. It combines the low fee and fast speed stellar with ipfs. Using this library you can build Stellar and IPFS application very quickly. go-stellar-ipfs implements StellarShell that helps you use premade functions for sending any sort of data to IPFS using stellar transaction, memo, manage data and also allows reading of that data. This library is divided in modular functions, which you can utilize in your application. Refer the below examples for sample usage. ExampleA complete example which implements addition of IPFS data in stellar compatible format using memo hash field.
Replace SECRETKEY and DESITINATION with your inputs. Another example, that reads the IPFS hash data after converting hash to multiaddr IPFS hash.
If you wish to get data in an io.Reader, than replace IpfsDataString with IpfsData function
Check the godoc for complete list of functions. Running your codeStart IPFS daemon
Once IPFS Daemon is initialized, run your code. If IPFS is not installed on your system, refer this guide for installing IPFS. Featured
Mentions
Upcoming/Missing FeaturesThis library acts as a bridge between go-ipfs-api and stellar to make features easier to use.
Contributego-stellar-ipfs is open source and all contributions are welcome. Please refer CONTRIBUTING.md for information. LicenceStellar is trademark of Stellar Development Foundation. IPFS is trademark of Protocol Labs. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论