Skip to content

feature(tools): add transaction generate#180

Open
Sunny6889 wants to merge 2 commits into
tronprotocol:developfrom
Sunny6889:tranx_generate
Open

feature(tools): add transaction generate#180
Sunny6889 wants to merge 2 commits into
tronprotocol:developfrom
Sunny6889:tranx_generate

Conversation

@Sunny6889
Copy link
Copy Markdown

No description provided.

Little-Peony and others added 2 commits May 22, 2026 10:19
Pure-Go alternative to tron-docker/tools/stress_test. Three subcommands
(generate / broadcast / statistic) covering TRX, TRC10, and TRC20
transfers, with the broadcast report shape matched to upstream so
existing dashboards keep working. Receiver-address generation is
inlined into `generate` (no separate `collect` step); a sidecar
receivers.csv is dropped under outputDir for db-fork pre-funding.

Factored the /wallet/broadcasttransaction HTTP client out of
tools/replay/private.go into tools/common/broadcast so both tools
share the same code path.

Signing uses github.com/decred/dcrd/dcrec/secp256k1/v4 with low-S
canonical normalization; Keccak-256 + Base58Check live alongside in
tools/txgen/address.go. Makefile gains build-txgen / install-txgen
targets mirroring the replay ones.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants