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.
- Install packages
npm install
or
npm install --legacy-peer-deps
- 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 = "";
- Running with npm
npm run start
- Building for web servers, like nginx
npm run build
cp -r ./dist/* <ROOT_OF_WEB_SERVER>