{"id":21470552,"url":"https://github.com/manifoldfinance/openmev-sdk-python","last_synced_at":"2026-05-02T23:34:56.974Z","repository":{"id":103410909,"uuid":"481009601","full_name":"manifoldfinance/openmev-sdk-python","owner":"manifoldfinance","description":"OpenMev SDK in python","archived":false,"fork":false,"pushed_at":"2022-04-13T12:29:23.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T17:03:28.897Z","etag":null,"topics":["brownie","ethereum","flashbots","openmev","python","sdk","solidity"],"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/manifoldfinance.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":"2022-04-12T23:55:09.000Z","updated_at":"2024-12-05T17:35:45.000Z","dependencies_parsed_at":"2023-10-16T17:01:28.684Z","dependency_job_id":null,"html_url":"https://github.com/manifoldfinance/openmev-sdk-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manifoldfinance/openmev-sdk-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manifoldfinance%2Fopenmev-sdk-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manifoldfinance%2Fopenmev-sdk-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manifoldfinance%2Fopenmev-sdk-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manifoldfinance%2Fopenmev-sdk-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manifoldfinance","download_url":"https://codeload.github.com/manifoldfinance/openmev-sdk-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manifoldfinance%2Fopenmev-sdk-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32553682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T22:28:24.418Z","status":"ssl_error","status_checked_at":"2026-05-02T22:28:14.225Z","response_time":132,"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":["brownie","ethereum","flashbots","openmev","python","sdk","solidity"],"created_at":"2024-11-23T09:28:13.824Z","updated_at":"2026-05-02T23:34:56.952Z","avatar_url":"https://github.com/manifoldfinance.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This library works by injecting a new module in the Web3.py instance, which allows\nsubmitting \"private transactions\" or \"bundles\" of transactions directly to miners. \nThis is done by also creating a middleware which captures calls to \n`eth_sendRawTransaction` / `eth_sendPrivateTransaction` and `eth_sendBundle`, \nsending them to OpenMev RPC endpoint, which corresponds to `mev-geth`. \nTo apply correct headers we use OpenmevProvider which injects the correct header on post.\n\n## Example\n\n```python\nfrom eth_account.signers.local import LocalAccount\nfrom web3 import Web3, HTTPProvider\nfrom openmev import openmev\nfrom eth_account.account import Account\nimport os\n\nETH_ACCOUNT_SIGNATURE: LocalAccount = Account.from_key(os.environ.get(\"ETH_SIGNATURE_KEY\"))\n\n\nw3 = Web3(HTTPProvider(os.environ.get(\"ETH_RPC_URL\")))\nopenmev(w3, ETH_ACCOUNT_SIGNATURE)\n```\n\nAvaliable methods:\n- `w3.openmev.sendBundle` Look in `examples/bundle.py` for usage examples\n- `w3.openmev.sendPrivateTransaction` Look in `examples/private_swap.py` for usage examples\n\n# Development and testing\n\nGenerate new eth wallet\n```\npython3 generate_private_key.py\n```\n\nExport private key and rpc url as env vars\n```\nexport ETH_SIGNATURE_KEY=\u003c0x...\u003e\nexport ETH_RPC_URL=\u003chttp...\u003e\n```\n\nSetup pre-reqs\n```\n./pre-install\n```\n\nInstall Openmev\n```\npip3.10 install\n```\n\nRun examples\n```\npython3.10 examples/private_swap.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanifoldfinance%2Fopenmev-sdk-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanifoldfinance%2Fopenmev-sdk-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanifoldfinance%2Fopenmev-sdk-python/lists"}