# README
IPFS Storage Engine
We are implementing the Put()
and Get()
API methods on top of IPFS.
ipfs.go
: storage provider implementation
cmd/main.go
: interacting with IPFS storage provider. This requires the IPFS daemon to be running.
Installation
- Install IPFS daemon:
- Download
ipfs
binary
- Download
- Initialize IPFS
- Execute
ipfs init
(only needs to be done once) - Add the core wave3 peers to your network
- Execute
- Run IPFS daemon
- Execute
ipfs daemon --enable-pubsub-experiment
- Execute
- Install WAVE storage provider:
- TODO
Usage
Supernode
Supernodes are servers that have voluntarily taken on the role of storing WAVE objects from IPFS clients.
- Clone and follow instructions for ansible
Put/Get
We have a simple command line interface for now
cmd put <file path>
returns hashcmd put <hash>
prints the contents of the file on the screen
Adding Supernodes
Put the bootstrap peers in a file bootstrappeers
and run
while read addr; do
ipfs bootstrap add $addr
ipfs swarm connect $addr
done < bootstrappeers
/ip4/54.183.252.14/tcp/4001/ipfs/QmWaDiSZhFn9JYjtUMp2wXP7j6yjaVrxdjSZKfGjaYzTjM
# Packages
No description provided by the author
# Structs
IPFS Storage provider runs as a supplementary daemon to the IPFS daemon.