Web3 Blockchain Explorer. Validator, Mining Pool, Token and Network Real-time Metrics. Interactive Onchain Dashboard.
| Blog | X | Docs | Design Assets | BE GOOD License |
🄳 🄵 🅽 🄍 ⚀ 🌐
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 pm2git clone https://github.com/citizenweb3/validatorinfo.git validatorinfo
cd validatorinfocp .env.example .env
cp Makefile.example Makefileyarnmake create-deps
make generate-client
make deploy-migrations
make init-chains
make generate-schema
yarn devmake create-deps
make generate-client
make deploy-migrations
make init-chains
make generate-schema
yarn buildpm2 start "yarn start" --name next
pm2 start "make start-indexer" --name indexerDocker Compose provides a fully isolated development environment with all required services.
-
Ensure Docker and Docker Compose are installed on your system.
-
Set up environment variables:
cp .env.example .envRequired 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>"
- Start the project:
docker compose -f docker-compose.dev.yml up -d --buildThis will start:
- PostgreSQL (port 5432)
- Redis (port 6379)
- Migrations service (automatic database setup)
- Frontend application (port 3000)
- Indexer service (port 3001)
