⭐ Based on Mintscan by Cosmostation
This repository provides frontend code for Oraiscan Block Explorer for Oraichain.
- A working backend described here
- NodeJS 10+
- Git clone this repo to desired directory
git clone https://github.com/oraichain/oraiscan-frontend.git
- Install required packages
yarn install
- Create a
firebase.js
insrc/
with your firebase settings, or comment out the following line insrc/Root.js
import "./firebase";
- Specify URL of your backend
export REACT_APP_API_PROD=http://localhost:5000/v1
- Specify version of orai wallet in .env file
REACT_APP_WALLET_VERSION=2
- Dev it or build it
yarn dev
yarn build:dev
firebase use oraichain-mainnet
firebase target:apply hosting oraiscan oraiscan
firebase deploy --only hosting:oraiscan
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Released under the Apache 2.0 License.