# lantern3.py
Light up the Ethereum blockchain with Lantern3, a Python library that provides high-level interfaces for sending bundled transactions to block builders. Lantern3 aims to increase the success rate of transaction inclusion while mitigating issues such as transaction reverts, front-running, back-running, and sandwich attacks.
## Builders
Lantern3 supports multiple block builders that you can use to send your bundled transactions.
| Name | RPC Endpoint | Notes |
| ------------- | --------------------------- | --------------------------------------------------- |
| Flashbots | https://relay.flashbots.net | [`FlashbotsBuilder`](lantern3/builder/flashbots.py) |
| builder0x69 | https://builder0x69.io | |
| beaverbuild | https://rpc.beaverbuild.org | |
| rsync-builder | https://rsync-builder.xyz | |
Please refer to the documentation of each block builder for any specific requirements or considerations when using them.
## Examples
To get started with Lantern3, you can explore the provided examples. The following example demonstrates a simple transfer of Ether:
```shell
$ python3 examples/simple_transfer.py <YOUR_PRIVATE_KEY>
```
Please note that before running the examples, you may need to install the necessary dependencies by following the installation instructions in the project's documentation.
## Contributing
We welcome contributions to Lantern3! If you encounter any issues, have suggestions, or want to contribute improvements or new features, please open an issue or submit a pull request on the GitHub repository.
## License
Lantern3 is licensed under the [MIT License](https://opensource.org/license/mit/). See the [LICENSE](LICENSE) file for more details.
Raw data
{
"_id": null,
"home_page": "https://github.com/taekop/lantern3.py",
"name": "lantern3",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9,<4.0",
"maintainer_email": "",
"keywords": "ethereum",
"author": "taekop",
"author_email": "taekop@naver.com",
"download_url": "https://files.pythonhosted.org/packages/75/55/d4a5e18595487a9aa4049604f19761b968eafea7fd4deea50cc9e867ed19/lantern3-0.1.0.tar.gz",
"platform": null,
"description": "# lantern3.py\n\nLight up the Ethereum blockchain with Lantern3, a Python library that provides high-level interfaces for sending bundled transactions to block builders. Lantern3 aims to increase the success rate of transaction inclusion while mitigating issues such as transaction reverts, front-running, back-running, and sandwich attacks.\n\n## Builders\n\nLantern3 supports multiple block builders that you can use to send your bundled transactions.\n\n| Name | RPC Endpoint | Notes |\n| ------------- | --------------------------- | --------------------------------------------------- |\n| Flashbots | https://relay.flashbots.net | [`FlashbotsBuilder`](lantern3/builder/flashbots.py) |\n| builder0x69 | https://builder0x69.io | |\n| beaverbuild | https://rpc.beaverbuild.org | |\n| rsync-builder | https://rsync-builder.xyz | |\n\nPlease refer to the documentation of each block builder for any specific requirements or considerations when using them.\n\n## Examples\n\nTo get started with Lantern3, you can explore the provided examples. The following example demonstrates a simple transfer of Ether:\n\n```shell\n$ python3 examples/simple_transfer.py <YOUR_PRIVATE_KEY>\n```\n\nPlease note that before running the examples, you may need to install the necessary dependencies by following the installation instructions in the project's documentation.\n\n## Contributing\n\nWe welcome contributions to Lantern3! If you encounter any issues, have suggestions, or want to contribute improvements or new features, please open an issue or submit a pull request on the GitHub repository.\n\n## License\n\nLantern3 is licensed under the [MIT License](https://opensource.org/license/mit/). See the [LICENSE](LICENSE) file for more details.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Light up the Ethereum blockchain",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/taekop/lantern3.py"
},
"split_keywords": [
"ethereum"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "db6605611b99911ca0e2ca684452dd606542174e2053127b74d039290e22c82d",
"md5": "f6ea263ae87f567f1f457a5df5eb5b6d",
"sha256": "b3c5bad9f8cf567c78de1374d819a77c2860c587f5f74da6cc753dd9d2515825"
},
"downloads": -1,
"filename": "lantern3-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f6ea263ae87f567f1f457a5df5eb5b6d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<4.0",
"size": 6360,
"upload_time": "2023-07-06T08:20:40",
"upload_time_iso_8601": "2023-07-06T08:20:40.223018Z",
"url": "https://files.pythonhosted.org/packages/db/66/05611b99911ca0e2ca684452dd606542174e2053127b74d039290e22c82d/lantern3-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7555d4a5e18595487a9aa4049604f19761b968eafea7fd4deea50cc9e867ed19",
"md5": "017186cd1c248ffab6022ee468e550a7",
"sha256": "06222bf79dc52a74cfcd8f90cc42c521ed3628ec13b68c6cf1dd7363da12c549"
},
"downloads": -1,
"filename": "lantern3-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "017186cd1c248ffab6022ee468e550a7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<4.0",
"size": 5252,
"upload_time": "2023-07-06T08:20:41",
"upload_time_iso_8601": "2023-07-06T08:20:41.853339Z",
"url": "https://files.pythonhosted.org/packages/75/55/d4a5e18595487a9aa4049604f19761b968eafea7fd4deea50cc9e867ed19/lantern3-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-06 08:20:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "taekop",
"github_project": "lantern3.py",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "lantern3"
}