Skip to content

Digital-MOB-Filecoin/filstats-cli

Repository files navigation

filstats-cli

filstats-cli is a tool that connects to a local Filecoin node, extracts data from it and sends it to the filstats-server which centralizes data from multiple nodes to build a high level overview of the network.

Currently supported node software

Installation

Build from source

Prerequisites

  • a working Golang environment (tested with go v1.15)
    • requires go modules (>=go v1.11)

Clone the repo

git clone git@github.com:Digital-MOB-Filecoin/filstats-cli.git
cd filstats-cli

Build the executable

make

Copy the sample config and do the necessary adjustments

cp config-sample.yml config.yml

Start the server

./filstats-cli run

Run via docker

docker run -d \
  --restart always \
  --network="host" \
  --name filstats-client \
  -v ~/.filstats:/data \
  {TODO:docker image TBD} run \
  --data-folder="/data" \
  --filstats.addr="cli.filstats.d.interplanetary.one:443" \
  --filstats.tls=true \
  --filstats.client-name="Your node nickname" \
  --node.type="lotus" \
  --node.addr="address of your lotus node" \
  --node.auth-token="optional: auth token for your lotus node"

Configuration

See the sample configuration for available configuration options.

Alternatively, run ./filstats-cli run --help for the list of supported flags.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •