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 backend code. This server uses a RESTful API to access the database and fetch data.
-
If you have not built a crawling server, please follow the link below first.
-
Git clone this repo
git clone https://github.com/Generation-Foundation/ethereum-lite-explorer-back.git
- Create
.env
to update MySQL database settings.
DB_HOST="host"
DB_USER="user"
DB_PASSWORD="password"
DB_DATABASE="explorer_db"
- Run it local with the following command
npm install --save
node server.js
- Go to the following link to build your frontend server
This is GENERATION's rpc url api documentation. (API Docs)
Use your blockchain rpc url. Access the endpoint and check the data.
Thanks goes to these wonderful people (emoji key):
Ben 🧑🏫 🤔 📆 💬 |
Danny 💻 🤔 🔣 📖 🚧 |
Developing by Generation Foundation