For Chinese version please see README-zh.
Developer-focused CLI/helpers to build, sign, and broadcast BFMeta transactions for third-party integration and debugging. TypeScript-based, reusing @bfmeta/transaction-maker-api and signing utilities to produce production-grade payloads.
- Install deps:
yarn installornpm install(Node 16+). - Dev mode:
yarn dev(watch build). - Full build:
yarn rebuildoryarn build(outputs tolib/). - Generate & broadcast example:
yarn start -- sendTransferAny --config ./config/testnet.json
- Custom network/nodes: add JSON configs under
config/with node IPs, timeouts, language, etc.
- Keep type-safety: no new
any/@ts-ignore; use existing types orzod/type guards for arg parsing. - Add new transaction types under
transactions/, reusecommonsteps to stay DRY. - Update both zh/en prompts/templates to keep CLI output consistent.
- Run
yarn buildbefore commit and document minimal self-checks for new commands (command + expected output).