Skip to content

Dashboard Implementation for Soteria DAG Protocol Daemon

License

Notifications You must be signed in to change notification settings

soteria-dag/soterdash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

soterdash

ISC License

Soterdash is a web app that provides a dashboard for a set of soterd nodes. It's intended for use with Soteria's testnet.

Requirements

Go 1.11.1 or newer

graphviz, for DAG rendering functionality

Installation

Build from source

go version
go env GOROOT GOPATH GO111MODULE 

NOTE: The GOROOT and GOPATH above must not be the same path. It is recommended that GOPATH is set to a directory in your home directory such as ~/goprojects to avoid write permission issues. It is also recommended to add $GOPATH/bin to your PATH at this point.

  • Obtain a copy of soterdash, and build it
git clone ssh://github.com/soteria-dag/soterdash $GOPATH/src/github.com/soteria-dag/soterdash
cd $GOPATH/src/github.com/soteria-dag/soterdash
export GO111MODULE=on
go build && echo "build ok" && go install . && echo "install ok"
  • soterdash will now be installed in $GOPATH/bin

Running soterdash

Use CLI parameters to configure soterdash and connect it to soterd node(s).

$ soterdash -h
  Usage of soterdash:
    -c string
      	Soterd RPC certificate path (default "/home/me/.soterd/rpc.cert")
    -l string
      	Which [ip]:port to listen on (default ":5072")
    -mainnet
          Use mainnet for soterd network census worker connections
    -p string
      	Soterd RPC password
    -r string
      	Soterd RPC ip:port to connect to
    -regnet
          Use regnet (regression test network) for soterd network census worker connections
    -simnet
          Use simnet for soterd network census worker connections
    -testnet
          Use testnet for soterd network census worker connections
    -u string
      	Soterd RPC username

Example run

An example run of soterdash could be:

soterdash -simnet -r 127.0.0.1:18556 -u USER -p PASS

Here it's connecting to the soterd at 127.0.0.1:18556, using the username USER and password PASS. The web ui for soterdash is available at localhost:5072

About

Dashboard Implementation for Soteria DAG Protocol Daemon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages