AElfProject / aelf-block-explorer

It is a Block Explorer and Analytics Platform for AElf.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# AELF Block Explorer

## Quick Start

### Install node modules Dependencies

```shell script
# install dependencies
$ yarn

Dependent projects

Local Development

  1. Modify the proxy config in build/proxy.json
    • there are several proxy configs, if you have started related projects such as aelf-block-api in local environment, this file doesn't need any changes
  2. Change the chain node URL in script such as yarn beforeDev -- --CHAIN_ENDPOINT https://aelf-test-node.aelf.io
  3. Run the npm script start
    yarn dev
    this script will start a webpack-dev-server and listen on port 3000, open http:0.0.0.0:3000 in your browser manually.

Production

For production, change the chain node URL in config/config.js and run:

yarn beforeBuild -- --CHAIN_ENDPOINT https://aelf-test-node.aelf.io
yarn build

api rules

About

It is a Block Explorer and Analytics Platform for AElf.

License:MIT License


Languages

Language:JavaScript 84.9%Language:Less 14.3%Language:TypeScript 0.7%Language:EJS 0.1%