Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 794 Bytes

File metadata and controls

51 lines (37 loc) · 794 Bytes

Magi Explorer

Block explorer for Magi, a Hive L2 smart contract platform.

Required Dependencies

  • pnpm
  • nodejs (Latest LTS)

Setup

Installation

git clone https://github.com/techcoderx/vsc-explorer
cd vsc-explorer
pnpm i

Start development server

pnpm start

Build

Create minified build

pnpm run build

The resulting files can be found in dist folder.

Test minified build

pnpm run preview

Dockerized setup

Build image

docker build --build-arg VITE_NETWORK=mainnet -t magi-blocks .

Run container

docker run -d --rm -p 8080:8080 --name=magi-blocks magi-blocks

Build time env vars

  • VITE_NETWORK: Network name (mainnet or testnet)