在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:zabirauf/elixir-ipfs-api开源软件地址:https://github.com/zabirauf/elixir-ipfs-api开源编程语言:Elixir 100.0%开源软件介绍:Current Version: v0.1.0 Elixir-Ipfs-ApiThe Elixir library that is used to communicate with the IPFS REST endpoint. DocumentationThe documentation is posted at hexdocs How to use it1. Add the library to mix.exsThe package is published on Hex. Add the elixir_ipfs_api as follow
2. Start the IPFS DaemonStart the IPFS daemon by running the following in terminal
This will start the ipfs daemon with the API endpoint at localhost:5001. If you want to start the API endpoint at a different address then add to the config
3. Create the IpfsConnection in your codeThe IpfsConnection entity contains the information of the IPFS API endpoint. By default it will try to connect to http://localhost:5001/api/v0
ExamplesAdding content to IPFS
Getting content from IPFS
TODO
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论