在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:nervosnetwork/ckb-explorer-frontend开源软件地址:https://github.com/nervosnetwork/ckb-explorer-frontend开源编程语言:TypeScript 97.9%开源软件介绍:CKB ExplorerCKB Explorer is a Nervos CKB blockchain explorer built with React and Ruby on Rails and includes two parts: CKB Explorer Frontend and CKB Explorer Server. See live at CKB Explorer. API documentation is available here. CKB Explorer FrontendFeatures
Getting StartedPrerequisite
Edit .env fileYou need to edit .env.develop for development and .env.production for production to set your own api url as ckb explorer server. REACT_APP_API_URL = 'http://your-api-url' # Set your own server api url
REACT_APP_CHAIN_TYPE = 'testnet' # Set chain type (mainnet or testnet)
REACT_APP_MAINNET_URL = 'http://localhost:3000' # MAINNET_URL is for deploying testnet, please ignore for development
REACT_APP_TESTNET_NAME = 'testnet' # TESTNET_NAME will be displayed on explorer header and it also determines the subpath of the testnet Installationgit clone https://github.com/nervosnetwork/ckb-explorer-frontend.git
cd ckb-explorer-frontend
yarn install # install dependency libraries Running locally
Building productionyarn build # build ckb explorer frontend project
yarn test # run project test cases LicenseCKB Explorer Frontend is released under the terms of the MIT license. See COPYING for more information or see https://opensource.org/licenses/MIT. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论