https://github.com/ringabout/ipfshttpclient
ipfshttpclient implemented in Nim (in progress)
https://github.com/ringabout/ipfshttpclient
Last synced: about 1 year ago
JSON representation
ipfshttpclient implemented in Nim (in progress)
- Host: GitHub
- URL: https://github.com/ringabout/ipfshttpclient
- Owner: ringabout
- License: apache-2.0
- Created: 2022-05-23T15:11:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-23T16:59:38.000Z (about 4 years ago)
- Last Synced: 2024-10-14T15:03:51.571Z (over 1 year ago)
- Language: Nim
- Homepage:
- Size: 178 KB
- Stars: 10
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ipfshttpclient
ipfs http client implemented in Nim (in progress)
```nim
import ipfshttpclient
import std/json
var ipfs = newIpfsHttpClient()
let added = ipfs.add("test.js")
if added != nil:
echo added.pretty
var name = added["Hash"].getStr
let res = ipfs.cat(name)
echo res
```