command-center

Ren Command Center

renproject/command-center https://mainnet.renproject.io
starsStars 9
forksForks 4
watchersWatchers 9
current-versionCurrent version
total-releasesTotal releases 0
open_issues_countOpen issues 10
dateFirst release -
dateLatest release -
updateLast update 2020-11-19

🎛️ Command Center

The Command Center is a dashboard for seeing RenVM stats and for operating darknodes. It should be used along side the Darknode CLI.

For instructions on running a darknode, see https://docs.renproject.io/darknodes.

Previews

Network stats

Darknode page

Developer notes

Project

The project is structured into lib.

The library (lib) files of note are:

Running locally

After cloning, run:

yarn
yarn start

To configure the network or add an Infura key, create a .env file:

REACT_APP_INFURA_KEY="" # Optional
REACT_APP_NETWORK="mainnet" # Options are "testnet" (default) or "mainnet"

If you don't have an Infura key (Project ID), you should make sure to connect your Web3 wallet when the page is loaded. You may see some errors until the wallet is connected. A free Infura key can generated at https://infura.io.

Tests

(see CircleCI config for more details)

In one terminal, start a local Ethereum node by running:

cd ./node_modules/darknode-sol
yarn install
(yarn ganache-cli -d  > /dev/null &)
sleep 5
yarn truffle migrate 

In another, run:

yarn run test