Git Product home page Git Product logo

nucypher-monitor's Introduction

NuCypher Monitor

The NuCypher Monitor collects data about the NuCypher Network via the Crawler and displays this information in a UI via the Dashboard.

Installation

$ pip install -e . -r requirements.txt
Install additional development packages
$ pip install -e . -r dev-requirements.txt

Minimum Requirements

  • Installation of InfluxDB

    The Monitor Crawler stores network blockchain information in an InfluxDB time-series instance. The default connection is made to a local instance.

  • Installation of Geth Ethereum Node

    The Monitor needs a Web3 node provider to obtain blockchain data.

Usage

$ nucypher-monitor --help
Usage: nucypher-monitor [OPTIONS] COMMAND [ARGS]...

Options:
  --nucypher-version  Echo the nucypher version
  --help              Show this message and exit.

Commands:
  crawl      Gather NuCypher network information.
  dashboard  Run UI dashboard of NuCypher network.

Running the Monitor

via CLI

  1. Run InfluxDB
$ sudo influxd
  1. Run Geth node as a Web3 node provider (or use Infura)
$ geth --goerli --nousb
  1. Run the Crawler
$ nucypher-monitor crawl --provider <YOUR_WEB3_PROVIDER_URI>
  1. Run the Dashboard
$ nucypher-monitor dashboard --provider <YOUR WEB3 PROVIDER URI>
  1. The Dashboard UI is available at https://127.0.0.1:12500.

via Docker Compose

Docker Compose will start InfluxDB, Crawler, and Dashboard containers, and no installation of the monitor is required.

  1. Set Web3 Provider URI environment variable

    NOTE: local ipc is not supported when running via Docker

export WEB3_PROVIDER_URI=<YOUR WEB3 PROVIDER URI>
  1. Run Docker Compose
docker-compose -f deploy/docker-compose.yml up
  1. The Dashboard UI is available on port 12500.

nucypher-monitor's People

Contributors

derekpierre avatar kprasch avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.