Skip to content

BioforestChain/BFMeta-Transaction-Maker-Dev

Repository files navigation

BFMeta-Transaction-Maker-Dev (English)

For Chinese version please see README-zh.

Overview

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.

Usage

  1. Install deps: yarn install or npm install (Node 16+).
  2. Dev mode: yarn dev (watch build).
  3. Full build: yarn rebuild or yarn build (outputs to lib/).
  4. Generate & broadcast example:
    yarn start -- sendTransferAny --config ./config/testnet.json
  5. Custom network/nodes: add JSON configs under config/ with node IPs, timeouts, language, etc.

Contribution (brief)

  • Keep type-safety: no new any/@ts-ignore; use existing types or zod/type guards for arg parsing.
  • Add new transaction types under transactions/, reuse common steps to stay DRY.
  • Update both zh/en prompts/templates to keep CLI output consistent.
  • Run yarn build before commit and document minimal self-checks for new commands (command + expected output).

About

Developer CLI for building/signing BFMeta transactions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published