Skip to content

reapchain/dashboard

Repository files navigation

Reapchain Dashboard

Reapchain Dashboard

From the dashboard, you can explore blocks, send coin, and delegate everything.

GitHub Deploy

Description:

The Reapchain Dashboard is a web application that supports most of the activities supported by Reapchain.

It supports the following features:

  • View status and summary information of Reapchain network
  • Lite Explorer to view block and transaction information
  • Connection with Keplr wallet or Metamask wallet
  • Reap transfer
  • View account information and witness list and information
  • Staking-related functions such as delegation, redelegation, and unbonding

This project referenced the project below.

Installation:

  1. Install packages
npm install

or

npm install --legacy-peer-deps
  1. Add Config file as follows
path: env/reapchain.config.js

// sample
export const chainInfo = {
  env: "",
  chainName: "",
  chainId: "",
  chainIdHex: "",
  cosmosChainId: "",
  restEndpoint: "",
  rpcEndpoint: "",
  evmEndpoint: "",
  stateSyncEndpoint: ["", ""],
  stateSyncP2P: "",
  stateSyncNodeId: "",
  dashboardUrl: ``,
  ethAccountExplorerUrl: ``,
};

export const networkInfo = {
  chain_name: chainInfo.chainName,
  coingecko: "",
  api: chainInfo.restEndpoint,
  rpc: chainInfo.rpcEndpoint,
  snapshot_provider: "",
  sdk_version: "",
  coin_type: "",
  min_tx_fee: "",
  addr_prefix: "",
  logo: "",
  assets: [
    {
      base: "",
      symbol: "",
      exponent: "",
      coingecko_id: "",
      logo: "",
    },
  ],
};

export const coinoneApi = "";
export const coingeckoApi = "";
export const gateioApi = "";


  1. Running with npm
npm run start
  1. Building for web servers, like nginx
npm run build
cp -r ./dist/* <ROOT_OF_WEB_SERVER>