Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ipfsconsortium/go-ipfsc
Go implementation for the IPFS pinning consortium proxy
https://github.com/ipfsconsortium/go-ipfsc
ethereum ethereum-blockchain golang ipfs
Last synced: 1 day ago
JSON representation
Go implementation for the IPFS pinning consortium proxy
- Host: GitHub
- URL: https://github.com/ipfsconsortium/go-ipfsc
- Owner: ipfsconsortium
- License: agpl-3.0
- Created: 2018-04-30T18:13:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-16T16:18:37.000Z (about 6 years ago)
- Last Synced: 2024-11-15T21:57:29.542Z (2 months ago)
- Topics: ethereum, ethereum-blockchain, golang, ipfs
- Language: Go
- Homepage:
- Size: 85.9 KB
- Stars: 8
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goic
```
_ __
__ _ ___ (_) _ __ / _| ___ ___
/ _` | / _ \ ____ | || '_ \ | |_ / __| / __|
| (_| || (_) ||____|| || |_) || _|\__ \| (__
\__, | \___/ |_|| .__/ |_| |___/ \___|
|___/ |_|
IPFS pinning consortiumUsage:
gipc [flags]
gipc [command]Available Commands:
add Add hash to IPFS
db-dump Dumps the database
db-init Initializes the database
help Help about any command
init Initialize ipfsc
ls Info of local ens
rm Remove hash to IPFS
sync-loop Looping sync forever
sync-once Sync one shotFlags:
--config string config file
-h, --help help for gipc
--verbose string verbose level (default "INFO")Use "gipc [command] --help" for more information about a command.
```**Pre-alpha stuff for now**
## Quick start
### Install
- Install golang, see https://golang.org/
- Install goic with the following command `go get github.com/ipfsconsortium/go-ipfsc`
- binary should be installed in `~/go/bin/go-ipfsc`### Create config file ./gipc.yaml
```
keystore:
account:
path:
passwd:ensnames:
network:
local:
remotes:
-
-
- ...db:
path:ipfs:
apiurl:
timeout:networks:
: //
maxgasprice:
rpcurl :
ensroot :api:
port:
```Note: to create a keystore you can use `geth account new`
### Initialize the database
- `gipc db-init`
### Set-up a new ENS IPFS Manifest entry
- `gipc init`
### Add/remove entries to the IPFS manifest
- `gipc add ` or `gipc add `
- `gipc rm `
### List IPFS entries in your ENS contract- `gipc rm `
### PIN other ENS IPFS manifest entries to your local IPFS
- `gipc sync-loop` (sync continuosuly)
- `gipc sync-once` (sync one time)### Get the current stats
- go to `http://localhost:8991/stats`