Skip to content

Commit c3a1216

Browse files
authored
v1.1.1 patch release (#74)
1 parent cedb0ae commit c3a1216

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: flashbots
3-
Version: 1.1.0
3+
Version: 1.1.1
44
Summary: flashbots client
55
Author: Georgios Konstantopoulos
66
Author-email: me@gakonst.com

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ authors = ["Georgios Konstantopoulos <me@gakonst.com>", "Nikolas Papaioannou <n0
33
description = ""
44
name = "flashbots"
55
readme = "README.md"
6-
version = "1.1.0"
6+
version = "1.1.1"
77

88
[tool.poetry.dependencies]
99
python = "^3.9"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99

1010
setup_kwargs = {
1111
"name": "flashbots",
12-
"version": "1.1.0",
12+
"version": "1.1.1",
1313
"description": "web3-flashbots.py",
1414
"long_description": 'This library works by injecting flashbots 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## Quickstart\n\n```python\nfrom eth_account.signers.local import LocalAccount\nfrom web3 import Web3, HTTPProvider\nfrom flashbots import flashbot\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("http://localhost:8545"))\nflashbot(w3, ETH_ACCOUNT_SIGNATURE)\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### Goerli\n\nTo use goerli, add the goerli relay RPC to the `flashbot` function arguments.\n\n```python\nflashbot(w3, ETH_ACCOUNT_SIGNATURE, "https://relay-goerli.flashbots.net")\n```\n\n## Development and testing\n\nInstall [poetry](https://python-poetry.org/)\n\nPoetry will automatically fix your venv and all packages needed.\n\n```sh\npoetry install\n```\n\nTips: PyCharm has a poetry plugin\n\n## Simple Goerli Example\n\nSee [examples/simple.py](./examples/simple.py) for environment variable definitions.\n\n```sh\npoetry shell\nETH_SENDER_KEY=<sender_private_key> \\nPROVIDER_URL=https://eth-goerli.alchemyapi.io/v2/<alchemy_key> \\nETH_SIGNER_KEY=<signer_private_key> \\npython examples/simple.py\n```\n\n## Linting\n\nIt\'s advisable to run black with default rules for linting\n\n```sh\nsudo pip install black # Black should be installed with a global entrypoint\nblack .\n```',
1515
"long_description_content_type": "text/markdown",
1616
"author": "Georgios Konstantopoulos",
1717
"author_email": "me@gakonst.com",
1818
"maintainer": "zeroXbrock",
19-
"maintainer_email": None,
19+
"maintainer_email": "brock@flashbots.net",
2020
"url": "https://github.com/flashbots/web3-flashbots",
2121
"packages": packages,
2222
"package_data": package_data,

0 commit comments

Comments
 (0)