Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

pcaversaccio/block-explorer-swissdlt

Repository files navigation

Swiss DLT Block Explorer

Expedition

A block explorer for the Ethereum Stack.
View Demo · Report Bug · Request Feature

expedition_gif

Table of Contents

About the Project

Expedition is a minimal block explorer for Ethereum Stack and utilizes Jade Service Runner for managing background services (Multi-Geth), OpenRPC for underlying functionality, and Pristine. It does not use a database, and can be configured to point at any remote RPC node for any EVM-based network. The goal of Jade Explorer is to provide a resource for network information and block exploration.

Explorer Features:

  • Display chain id
  • Syncing status
  • Runtime configuration for endpoints
  • Search by Block, Transaction, Address
  • Charts for hash, transaction count, gas used, uncles
  • Preview latest blocks with pagination
  • Multi-language support

Getting Started

Prerequisites

  • node v10.15.3 or later
  • npm v6.4.1 or later

Installation

Clone/ download the project, and install dependencies.

git clone https://github.com/pcaversaccio/block-explorer-swissdlt.git && cd block-explorer-swissdlt && npm install

Usage

Run Service

If you don't have a service-runner running, then you can use the one in the package.json via: (or see the configuration section below to provide your own ethereum RPC URL):

npm run service-runner

Jade Service Runner will run at http://localhost:8002/.

Core-Geth & Service Runner

By default, core-geth service will run ETC mainnet. Jade Service runner conveniently contains the service in the /.services/ directory of project.

# ./services/
.
└── core-geth
    └── 1.11.2
        └── core-geth
            └── 1.11.2
                └── classic
                    ├── geth
                    │   ├── chaindata
                    │   ├── ethash
                    │   └── nodes
                    └── keystore

Start the Explorer

npm start

The explorer will run at http://localhost:3000/.

Configurations Awl

Set RPC via URL

?rpcUrl= Set custom rpc url.

Example: https://expedition.dev/?rpcUrl=https://swissdlt-dev.appswithlove.net/rpc/

Configure Default URLs via Environment Variables

Override the ETH URL:

Windows (cmd.exe)

set "REACT_APP_ETH_RPC_URL=https://swissdlt-dev.appswithlove.net/rpc/" && npm start

Windows (Powershell)

($env:REACT_APP_ETH_RPC_URL = "https://swissdlt-dev.appswithlove.net/rpc/") -and (npm start)

Linux, macOS (Bash)

REACT_APP_ETH_RPC_URL=https://swissdlt-dev.appswithlove.net/rpc/ npm start

OR

Override the service runner URL:

Windows (cmd.exe)

set "REACT_APP_SERVICE_RUNNER_URL=https://swissdlt-dev.appswithlove.net/rpc/" && npm start

Windows (Powershell)

($env:REACT_APP_SERVICE_RUNNER_URL = "https://swissdlt-dev.appswithlove.net/rpc/") -and (npm start)

Linux, macOS (Bash)

REACT_APP_SERVICE_RUNNER_URL=https://swissdlt-dev.appswithlove.net/rpc/ npm start

Resources

Original Repository

This repository has been forked from here.

About

A block explorer for the Swiss DLT blockchain.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages