Commit graph

4 commits

Author SHA1 Message Date
Dr Q. Josef Kurk Edwards
f606360f30
Add raw transaction broadcast tool with Gnosis Safe fallback (#4)
* Initial plan

* Initial plan

* cmd/pushtx, .github/workflows: add raw transaction broadcast tool with funnel fallback

Add a standalone CLI tool (pushtx) for decoding and submitting raw signed
Ethereum transactions to any JSON-RPC endpoint. Includes Gnosis Safe funnel
fallback for insufficient-funds scenarios and calldata detection for the
common RLP broadcast error.

Files added:
- cmd/pushtx/main.go: core tool with tx decode, summary, and broadcast
- cmd/pushtx/funnel.go: Gnosis Safe execTransaction fallback
- cmd/pushtx/main_test.go: tests for core functionality
- cmd/pushtx/funnel_test.go: tests for funnel and calldata detection
- .github/workflows/build.yml: CI workflow for build and test

Files modified:
- Makefile: add pushtx target
- .gitignore: add cmd/pushtx/pushtx binary

Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>

* cmd/pushtx: add Tenderly simulation URL to funnel comment

Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>

* Initial plan

* Initial plan

Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>

* Makefile, build/ci.go: add pushtx to .PHONY and distribution archives

Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: drqsatoshi <240532885+drqsatoshi@users.noreply.github.com>
2026-03-12 14:48:54 -04:00
Dr. Q and Company
58507267fa
Revert "cmd/pushtx, .github/workflows: add raw transaction broadcast tool and build CI" (#2) 2026-03-12 13:31:19 -04:00
copilot-swe-agent[bot]
468f45d5aa cmd/pushtx: use nonce 6, deposit to 0x78b529, fix workflow permissions
Co-authored-by: drQedwards <213266729+drQedwards@users.noreply.github.com>
2026-03-12 16:39:55 +00:00
copilot-swe-agent[bot]
9ed063f56e cmd/pushtx, .github/workflows: add build workflow, show raw hex in output
Co-authored-by: drQedwards <213266729+drQedwards@users.noreply.github.com>
2026-03-12 16:10:29 +00:00