{"id":43707420,"url":"https://github.com/vile/web3-more-bundlers","last_synced_at":"2026-02-05T06:07:30.861Z","repository":{"id":228276674,"uuid":"773545075","full_name":"vile/web3-more-bundlers","owner":"vile","description":"Superset of Flashbots' plugin for Web3.py allowing bundles to be submitted to many miners.","archived":false,"fork":false,"pushed_at":"2024-04-28T19:18:14.000Z","size":95,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-29T19:38:13.522Z","etag":null,"topics":["bundler","ethereum","flashbots","mev","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-17T23:47:59.000Z","updated_at":"2024-04-29T19:38:13.523Z","dependencies_parsed_at":"2024-04-28T19:47:39.733Z","dependency_job_id":null,"html_url":"https://github.com/vile/web3-more-bundlers","commit_stats":null,"previous_names":["vile/web3-more-bundlers"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vile/web3-more-bundlers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vile%2Fweb3-more-bundlers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vile%2Fweb3-more-bundlers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vile%2Fweb3-more-bundlers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vile%2Fweb3-more-bundlers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vile","download_url":"https://codeload.github.com/vile/web3-more-bundlers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vile%2Fweb3-more-bundlers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29114615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bundler","ethereum","flashbots","mev","python"],"created_at":"2026-02-05T06:07:30.215Z","updated_at":"2026-02-05T06:07:30.855Z","avatar_url":"https://github.com/vile.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web3 More Bundlers\n\n![GitHub Release](https://img.shields.io/github/v/release/vile/web3-more-bundlers)\n[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)\n![Python Version](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fvile%2Fweb3-more-bundlers%2Fmaster%2Fpyproject.toml\u0026query=%24.tool.poetry.dependencies.python\u0026label=python)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat\u0026labelColor=ef8336)](https://pycqa.github.io/isort/)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits\u0026logoColor=white)](https://conventionalcommits.org)\n\n\nThis library works by injecting flashbots (`bundler`) as a new module in the Web3.py instance, which allows submitting \"bundles\" of transactions directly to miners. This is done by also creating a middleware which captures calls to `eth_sendBundle` and `eth_callBundle`, and sends them to an RPC endpoint which you have specified, which corresponds to `mev-geth`.\n\nTo apply correct headers we use the `flashbot` method which injects the correct header on `POST`.\n\n\u003e This is a superset project of [Flashbot's package](https://github.com/flashbots/web3-flashbots) for [Web3.py](https://github.com/ethereum/web3.py), and originally adapted from TitanBuilder's PR ([flashbots/web3-flashbots#76](https://github.com/flashbots/web3-flashbots/pull/76)). Flashbots currently only supports Web3.py version ^5.22.0 (not \u003e=6).\n\n## Quick Start\n\n### Installing\n\nInstall package with Poetry.\n\n```bash\npoetry add web3morebundlers\n```\n\n### Example\n\n```python\nimport os\n\nfrom eth_account.account import Account\nfrom eth_account.signers.local import LocalAccount\nfrom web3 import HTTPProvider, Web3\n\nfrom web3morebundlers import bundler\n\nETH_ACCOUNT_SIGNATURE: LocalAccount = Account.from_key(os.environ.get(\"ETH_SIGNER_KEY\"))\nBUNDLER_ENDPOINTS = [\"https://relay.flashbots.net\", \"https://rpc.titanbuilder.xyz\", ...]\n\n\nw3 = Web3(HTTPProvider(\"http://localhost:8545\"))\nbundler(w3=w3, signature_account=ETH_ACCOUNT_SIGNATURE, endpoint_uris=BUNDLER_ENDPOINTS)\n```\n\nNow the `w3.flashbots.sendBundle` method should be available to you. Look in [examples/simple.py](./examples/simple.py) for usage examples.\n\n## Using Testnets\n\nCurrently, the base flashbots package only supports Goerli. To use Goerli, add the Goerli **relay** RPC to the `bundler` function arguments.\n\n```python\nbundler(w3=w3, signature_account=ETH_ACCOUNT_SIGNATURE, endpoint_uris=BUNDLER_ENDPOINTS, flashbots_uri=\"https://relay-goerli.flashbots.net\")\n```\n\n## Migrating\n\nSwitching from the base Flashbots package to web3morebundlers is simple. This package initializes `flashbot` under the hood and exposes all existing `w3.flashbot` functions; only the initializer function needs to be changed (with an additional param).\n\nLet's migrate flashbot's quickstart example:\n```diff\nfrom eth_account.signers.local import LocalAccount\nfrom web3 import Web3, HTTPProvider\n- from flashbots import flashbot\n+ from web3morebundlers import bundler\nfrom eth_account.account import Account\nimport os\n\nETH_ACCOUNT_SIGNATURE: LocalAccount = Account.from_key(os.environ.get(\"ETH_SIGNER_KEY\"))\n+ BUNDLER_ENDPOINTS = [\"https://relay.flashbots.net\", \"https://rpc.titanbuilder.xyz\", ...]\n\nw3 = Web3(HTTPProvider(\"http://localhost:8545\"))\n- flashbot(w3, ETH_ACCOUNT_SIGNATURE)\n+ bundler(w3=w3, signature_account=ETH_ACCOUNT_SIGNATURE, endpoint_uris=BUNDLER_ENDPOINTS)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvile%2Fweb3-more-bundlers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvile%2Fweb3-more-bundlers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvile%2Fweb3-more-bundlers/lists"}