Skip to main content

Utilities for searchers and protocols to interact with the Express Relay protocol.

Project description

Express Relay Python SDK

Utility library for searchers and protocols to interact with the Express Relay API.

The SDK includes searcher-side utilities and protocol-side utilities. The searcher-side utilities include a basic Searcher client for connecting to the Express Relay server as well as an example SimpleSearcher class that provides a simple workflow for assessing and bidding on liquidation opportunities.

Searcher

Installation

poetry

$ poetry add express-relay

Quickstart

To run the simple searcher script, navigate to python/ and run

$ python3 -m express_relay.searcher.examples.simple_searcher --private-key <PRIVATE_KEY_HEX_STRING> --chain-id development --verbose --server-url https://per-staging.dourolabs.app/

This simple example runs a searcher that queries the Express Relay liquidation server for available liquidation opportunities and naively submits a bid on each available opportunity.

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

express_relay-0.2.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

express_relay-0.2.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file express_relay-0.2.1.tar.gz.

File metadata

  • Download URL: express_relay-0.2.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.9 Darwin/22.5.0

File hashes

Hashes for express_relay-0.2.1.tar.gz
Algorithm Hash digest
SHA256 32a097f29a3572ecc53d463709a827dc78a4a6e36a85f37cf62cdd7cc5850397
MD5 8359b5200a0a6af137a7ca8625e38d2d
BLAKE2b-256 fa878cb97cf5131ef8ce3545e9955cb8f33d45db8d3af5e907744397c3e879ee

See more details on using hashes here.

File details

Details for the file express_relay-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: express_relay-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.9 Darwin/22.5.0

File hashes

Hashes for express_relay-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 42a9983b19dcae8515b357ae85cf9b14ff7a85ae35fa4000404c7c30707d99f5
MD5 fe3431deb5aa4246bfb749915aff53e3
BLAKE2b-256 4bce91597f4667a36dccd70f2b4eee249f7d64a9f7d7e29c7b23936326220e7f

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