Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 1.43 KB

README.md

File metadata and controls

72 lines (48 loc) · 1.43 KB

Oraiscan Explorer's Frontend

⭐ Based on Mintscan by Cosmostation

Oraichain

Banner! Banner!

Overview

This repository provides frontend code for Oraiscan Block Explorer for Oraichain.

Prerequisite

  • A working backend described here
  • NodeJS 10+

Install

  1. Git clone this repo to desired directory
git clone https://github.com/oraichain/oraiscan-frontend.git
  1. Install required packages
yarn install
  1. Create a firebase.js in src/ with your firebase settings, or comment out the following line in src/Root.js
import "./firebase";
  1. Specify URL of your backend
export REACT_APP_API_PROD=http://localhost:5000/v1
  1. Specify version of orai wallet in .env file
REACT_APP_WALLET_VERSION=2
  1. Dev it or build it
yarn dev
yarn build:dev

Deploy with Firebase

firebase use oraichain-mainnet
firebase target:apply hosting oraiscan oraiscan
firebase deploy --only hosting:oraiscan

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

Released under the Apache 2.0 License.