For Chinese version please see README-zh.
Tooling monorepo for BFMeta: genesis block/license generation, transaction builders, key and ops utilities. Uses Lerna + Yarn workspaces; bdk-mono auto-generates CJS/ESM/@types configs.
packages/generate-genesis-block/generate-genesis-block-license: create genesis block & license, buffer conversions.packages/transaction: transaction building/signing/serialization reusable by nodes/SDKs.packages/coretools,helper-*,secret: base chain utilities, key wrappers, helper scripts.scripts/: cleanup/packaging pipelines (gb,copy, etc.).
yarn install- Sync configs:
yarn mono && yarn lsts - Dev build:
yarn devoryarn dev:esm - Generate genesis artifacts:
yarn gb - Production build:
yarn build:allor minimalyarn build
- Node 16+, Yarn only; keep TS strict, avoid
any/@ts-ignore. - Add new tools as separate packages and register in
bdk-mono; follow SRP to prevent giant scripts. - Centralize shared logic in
helper/typingsto stay DRY. - Run
yarn build(andyarn gbwhen relevant) before committing to validate outputs. - Branch/commit:
feature/<tool>,fix/<bug>; concise verb-based messages.