Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Support for sending Flashbots bundles from forge scripts #4947

Open
ape-dev-cs opened this issue May 15, 2023 · 2 comments
Open

Feature: Support for sending Flashbots bundles from forge scripts #4947

ape-dev-cs opened this issue May 15, 2023 · 2 comments
Labels
A-cheatcodes Area: cheatcodes A-private-transactions Area: private transactions Cmd-forge-script Command: forge script T-feature Type: feature

Comments

@ape-dev-cs
Copy link
Contributor

ape-dev-cs commented May 15, 2023

Component

Forge

Describe the feature you would like

I'd like to be able to easily send flashbots bundles within forge scripts for use-cases involving transactions that cannot hit public mempools for security reasons (e.g. MEV-able transactions, whitehat rescues, etc).

Doing this natively from a forge script obviates the need for me to use Hardhat for use-cases like this, or for me to write custom TypeScript/Rust code for each instance.

Additional context

I have a draft/WIP PR for this here: #4948

@ape-dev-cs ape-dev-cs added the T-feature Type: feature label May 15, 2023
@gakonst gakonst added this to Foundry May 15, 2023
@github-project-automation github-project-automation bot moved this to Todo in Foundry May 15, 2023
@ape-dev-cs ape-dev-cs changed the title Support for sending Flashbots bundles from forge scripts Feature: Support for sending Flashbots bundles from forge scripts May 17, 2023
@zerosnacks zerosnacks added A-private-transactions Area: private transactions Cmd-forge-script Command: forge script A-cheatcodes Area: cheatcodes labels Jul 2, 2024
@zerosnacks
Copy link
Member

zerosnacks commented Jul 2, 2024

Supportive of this, collecting some feedback on how people are currently doing private transactions / bundles (with Foundry), particularly for rescue operations and MEV-able transactions.

@ape-dev-cs are you still interested in working on this?

@zerosnacks
Copy link
Member

One important note that was raised by users was that any proposed solution should also cover the use case of sending private transactions on L2s by directly interacting with the sequencer RPC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cheatcodes Area: cheatcodes A-private-transactions Area: private transactions Cmd-forge-script Command: forge script T-feature Type: feature
Projects
Archived in project
Development

No branches or pull requests

3 participants