- Create branch from develop and always make PR to develop not main
- Every new public function needs tests: happy path, validation, errors, idempotency, edge cases.
npm run test:covmust pass (lines ≥90%, branches ≥90%, functions ≥95%) before opening a PR.npm run lintandnpm run type-checkmust be clean.- Update CHANGELOG.md under ## [Unreleased] for every PR.
- Never put a secret key in src/ — CI will block the PR.
npm test unit tests
npm run test:cov with coverage
npm run test:watch watch mode
npm run test:integration testnet (needs .env)
npm run lint check for errors
npm run build compile to dist/