Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Web3 Blockchain Explorer. Validator, Mining Pool, Token and Network Real-time Metrics. Interactive Onchain Dashboard

License

Notifications You must be signed in to change notification settings

eiri0k/validatorinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

990 Commits

Repository files navigation

Web3 Blockchain Explorer. Validator, Mining Pool, Token and Network Real-time Metrics. Interactive Onchain Dashboard.

Telegram-Storie

D F πŸ…½ πŸ„ βš€ 🌐


Getting Started

Prerequisites

Make sure you have the following installed on your system:

sudo apt install cmdtest
sudo apt install nodejs
sudo apt install npm
sudo apt install build-essential
npm install --global yarn
yarn global add pm2

Clone repo

git clone https://github.com/citizenweb3/validatorinfo.git validatorinfo
cd validatorinfo

Prepare Environment and Makefile

cp .env.example .env
cp Makefile.example Makefile

Install dependencies

yarn

Development

make create-deps
make generate-client
make deploy-migrations
make init-chains
make generate-schema
yarn dev

Build

make create-deps
make generate-client
make deploy-migrations
make init-chains
make generate-schema
yarn build

Start Built Project

pm2 start "yarn start" --name next
pm2 start "make start-indexer" --name indexer

Docker Development Environment

Using Docker Compose (Recommended)

Docker Compose provides a fully isolated development environment with all required services.

  1. Ensure Docker and Docker Compose are installed on your system.

  2. Set up environment variables:

cp .env.example .env

Required variables in .env file:

# Database
POSTGRES_DB=validatorinfo_db
POSTGRES_USER=validatorinfo_user
POSTGRES_PASSWORD=mysecretpassword
# Front and indexer environment
PUBLIC_URL=localhost
REDIS_HOST=redis
VALIDATORS_APP_TOKEN="<your_token>"
  1. Start the project:
docker compose -f docker-compose.dev.yml up -d --build

This will start:

  • PostgreSQL (port 5432)
  • Redis (port 6379)
  • Migrations service (automatic database setup)
  • Frontend application (port 3000)
  • Indexer service (port 3001)

About

Web3 Blockchain Explorer. Validator, Mining Pool, Token and Network Real-time Metrics. Interactive Onchain Dashboard

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 14

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /