Code Monkey home page Code Monkey logo

ethereum-lite-explorer-front's Introduction

ethereum-lite-explorer-frontend

Description

This project is an open-source block explorer on EVM chain. If you follow this repository, you can run explorer in localhost. This repository provides crawling code and backend code for Explorer, and you can find frontend code in this repository.

Preview

image

image

image

Getting Started

Setting up Server

Installing

After the above server installation is complete, install the following tasks

  • Git clone this repo
git clone https://github.com/Generation-Foundation/ethereum-lite-explorer-front.git
  • On macOS and Ubuntu, create .env to set GENERATE_SOURCEMAP
GENERATE_SOURCEMAP=false
  • On Window, modify package.json to set GENERATE_SOURCEMAP
  "scripts": {
    "start": ""set \"GENERATE_SOURCEMAP=false\" && node scripts/start.js",
    "build": ""set \"GENERATE_SOURCEMAP=false\" && node scripts/build.js",
    "test": "node scripts/test.js"
  },
  • Modify 'baseURL' in /src/redux/reducer/etherApi.js to your blockchain RPC URL
import axios from "axios";

const etherApi = axios.create({
    //change your blockchain rpc url
    baseURL : "https://eth.public-rpc.com",
    //baseURL : "https://testnet-rpc-seoul.gen.foundation",
    headers : {'content-type' : "application/json"}
})

export default etherApi
  • Modify 'baseURL' in /src/redux/reducer/dbApi.js to your backend server
import axios from "axios";

const dbApi = axios.create({
    //change your backend server
    baseURL : "http://localhost:3001",
    headers : {'content-type' : "application/json"}
})

export default dbApi
  • Run it local with the following command
npm install --save
npm start

Deploy

Deployed using AWS amplify.

npm run build

Architecture

If running only on localhost, it will proceed on the following ports.

Contributors

Thanks goes to these wonderful people (emoji key):


Ben

๐Ÿง‘โ€๐Ÿซ ๐Ÿค” ๐Ÿ“† ๐Ÿ’ฌ

Danny

๐Ÿ’ป ๐Ÿค” ๐Ÿ”ฃ ๐Ÿ“– ๐Ÿšง

Woody

๐Ÿ’ป โš ๏ธ

Developed

Developing by Generation Foundation

Our Services and Community

ethereum-lite-explorer-front's People

Contributors

jaewoneeee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.