/ckb-explorer-frontend

CKB Explorer Frontend

Primary LanguageTypeScriptMIT LicenseMIT

CKB Explorer

License TravisCI Telegram Group

CKB Explorer is a Nervos CKB blockchain explorer built with React and Ruby on Rails.

It supports searching block, transaction, address and includes two parts: frontend and backend server.

CKB Explorer Frontend

Prerequisite

Edit .env file

You need to edit .env.develop and .env.production to set your own api url as ckb explorer server.

REACT_APP_API_URL = 'http://your-api-url'   # Set your own api url

Installation

git clone https://github.com/nervosnetwork/ckb-explorer-frontend.git
cd ckb-explorer-frontend
yarn install   # install dependency libraries

Running locally

  • yarn start to start the development server (or npm start, if not using Yarn).
  • open http://localhost:3000/ to open the site in your favorite browser.

Building production

yarn build    # build ckb explorer frontend project
yarn test     # run project test cases

License

CKB Explorer Frontend is released under the terms of the MIT license. See COPYING for more information or see https://opensource.org/licenses/MIT.