This is the frontend for the VeChain Block Explorer.
- React 19
- TypeScript
- Next.js 15
- Chakra UI
- TanStack Query
Ensure you are using a compatible version of Node.js. It is recommended to use nvm to manage your Node.js versions.
nvm useInstall the dependencies:
pnpm installStart the development server:
pnpm devRun unit tests:
pnpm testRun tests in watch mode:
pnpm test:watchpnpm lint # Check for issues
pnpm lint:fix # Fix issues automatically
pnpm format # Format codeThis project uses automated semantic versioning. Version numbers are managed through git tags, not package.json.
- Open a PR to
main - Add one of these labels:
increment:patch- Bug fixes (1.0.0 → 1.0.1)increment:minor- New features (1.0.0 → 1.1.0)increment:major- Breaking changes (1.0.0 → 2.0.0)
- When merged, a new version tag is automatically created
The package.json version is set to 0.0.0-dev and is not used for production versioning. The real version is injected at build time from git tags.
See DEPLOYMENT.md for full deployment documentation.
- Production: Deploy via GitHub Actions from a version tag
- Preview: Automatic on PR creation at
pr-{number}.block-explorer-preview.vechain.org - Cleanup: Preview environments are automatically destroyed when PRs are closed