Skip to content

BioforestChain/BFMeta-CoreTools-Mars

Repository files navigation

BFMeta-CoreTools-Mars (English)

For Chinese version please see README-zh.

Overview

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.

Architecture

  • 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.).

Getting Started

  1. yarn install
  2. Sync configs: yarn mono && yarn lsts
  3. Dev build: yarn dev or yarn dev:esm
  4. Generate genesis artifacts: yarn gb
  5. Production build: yarn build:all or minimal yarn build

Contribution Guide

  • 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/typings to stay DRY.
  • Run yarn build (and yarn gb when relevant) before committing to validate outputs.
  • Branch/commit: feature/<tool>, fix/<bug>; concise verb-based messages.

About

BFMeta coretools for genesis/license/tx utilities

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •