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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file lantern3-0.1.0.tar.gz.

File metadata

  • Download URL: lantern3-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for lantern3-0.1.0.tar.gz
Algorithm Hash digest
SHA256 06222bf79dc52a74cfcd8f90cc42c521ed3628ec13b68c6cf1dd7363da12c549
MD5 017186cd1c248ffab6022ee468e550a7
BLAKE2b-256 7555d4a5e18595487a9aa4049604f19761b968eafea7fd4deea50cc9e867ed19

See more details on using hashes here.

File details

Details for the file lantern3-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lantern3-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for lantern3-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3c5bad9f8cf567c78de1374d819a77c2860c587f5f74da6cc753dd9d2515825
MD5 f6ea263ae87f567f1f457a5df5eb5b6d
BLAKE2b-256 db6605611b99911ca0e2ca684452dd606542174e2053127b74d039290e22c82d

See more details on using hashes here.

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