Web3 Blockchain Explorer. Validator, Mining Pool, Token and Network Real-time Metrics. Interactive Onchain Dashboard.
| Blog | X | Docs | Design Assets | BE GOOD License |
D F π ½ π β π
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
git clone https://github.com/citizenweb3/validatorinfo.git validatorinfo
cd validatorinfocp .env.example .env cp Makefile.example Makefile
yarn
make create-deps make generate-client make deploy-migrations make init-chains make generate-schema yarn dev
make create-deps make generate-client make deploy-migrations make init-chains make generate-schema yarn build
pm2 start "yarn start" --name next pm2 start "make start-indexer" --name indexer
Docker 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 .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>"
- 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)