Skip to content

ipfs-nucleus

TL;DR

This doesn't really work just use IPFS- Kugo

Failed Tutorial

Install gvm


git clone https://github.com/Peergos/ipfs-nucleus.git
cd ipfs-nucleus

gvm install go1.17
go use go.1.17


./buildReleases.sh


curl -X POST \
    -H "Content-Type: application/json" \
    -d '{"key1": "value1", "key2": "value2"}' \ 
    http://localhost:4001/BlockPut


curl  --http0.9 -X POST http://localhost:4001/id

echo "HelloWorld" > helloworld

curl --http0.9 -X POST -F "format=raw" -F "file=@helloworld" http://localhost:4001/blockput

curl -X POST --http0.9 http://localhost:4001/localrefs

curl --http0.9 -X POST --data-binary @/home/dentropy/Downloads/helloworld http://localhost:4001/blockput?format=raw

curl --http0.9 -X POST --data-binary @/home/dentropy/Downloads/helloworld http://localhost:4001/api/v0/add

Sources