mirror of
https://github.com/ringabout/ipfshttpclient
synced 2026-01-15 04:51:40 +00:00
No description
| src | ||
| tests | ||
| ipfshttpclient.nimble | ||
| LICENSE | ||
| README.md | ||
ipfshttpclient
ipfs http client implemented in Nim (in progress)
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