Skip to main content

Light up the Ethereum blockchain

Project description

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
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:

$ 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. See the LICENSE file for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lantern3-0.1.0.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

lantern3-0.1.0-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page