Commit graph

8 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]
84f37d3915 cmd/pushtx: add tx cost display to catch insufficient funds before broadcast
Co-authored-by: drQedwards <213266729+drQedwards@users.noreply.github.com>
2026-03-12 16:24:50 +00:00
copilot-swe-agent[bot]
cc2957508f cmd/pushtx: fix gas price 0 rejection, show gas price in summary, print raw hex on error
Co-authored-by: drQedwards <213266729+drQedwards@users.noreply.github.com>
2026-03-12 16:20:59 +00:00
copilot-swe-agent[bot]
53ff818308 plan: fix gas price and show gas price in summary
Co-authored-by: drQedwards <213266729+drQedwards@users.noreply.github.com>
2026-03-12 16:12:40 +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
copilot-swe-agent[bot]
b91a437b09 cmd/pushtx: address code review feedback
Co-authored-by: drQedwards <213266729+drQedwards@users.noreply.github.com>
2026-03-12 15:58:03 +00:00
copilot-swe-agent[bot]
17ef318c42 cmd/pushtx: add CLI tool for submitting raw signed transactions
Co-authored-by: drQedwards <213266729+drQedwards@users.noreply.github.com>
2026-03-12 15:50:38 +00:00