Thank you for contributing! This guide shows how to set up the project, build it, run it locally, test, and lint.
- Node.js 22.x (use
nvm/fnm/voltato manage versions) - Yarn (Classic 1.x or Berry)
- For e2e tests: Playwright browsers installed
git clone https://github.com/ton-blockchain/TxTracer
cd TxTracer
yarn installStart the dev server (Vite) at http://localhost:5174:
yarn devPreview the production build:
yarn build
yarn previewTypeScript build + Vite bundle:
yarn buildArtifacts are emitted into dist/.
yarn testInstall Playwright browsers once:
npx playwright install --with-depsAnd then run:
yarn test:e2e- Lint:
yarn lint- Auto-fix and format:
yarn fmt
yarn lint --fix- Check formatting without changes:
yarn fmt:checkQuick checklist:
- Run formatter and linter:
yarn fmt && yarn lint --fixor simplyyarn precommit - Run tests:
yarn testandyarn test:e2e - Ensure it builds:
yarn build
The yarn precommit script runs formatting, lint fixes, and a production build.
Thanks for your help and good luck!