Sitelet https://github.com/alloy-rs/examples/pull/93
Skip to content

Add send_private_transaction using Flashbots Protect - #93

Merged
zerosnacks merged 3 commits into
mainfrom
zerosnacks/send-private-transaction
Jun 4, 2024
Merged

zerosnacks merged 3 commits into
mainfrom
zerosnacks/send-private-transaction

Conversation

@zerosnacks

@zerosnacks zerosnacks commented Jun 3, 2024 •

Copy link
Copy Markdown
Contributor

Motivation

Given that ethers-flashbots is popular and we currently do not yet have a direct next iteration I think it makes sense to add the most basic example to send a private transaction - that is, to use the Flashbots Protect RPC URL.

Changes include some minor formatting changes.

Closes #89

Solution

Adds basic example using https://rpc.flashbots.net and documenting fast mode. This should be sufficient for most people looking to send a private transaction in a scripted manner.

PR Checklist

  • Added Documentation
  • Breaking changes

@Evalir Evalir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

straightforward!

@zerosnacks
zerosnacks merged commit 670469d into main Jun 4, 2024
@zerosnacks
zerosnacks deleted the zerosnacks/send-private-transaction branch June 4, 2024 08:03
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.

Add example of using Flashbots

2 participants