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.4.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

express_relay-0.4.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: express_relay-0.4.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.9 Linux/5.15.0-1060-azure

File hashes

Hashes for express_relay-0.4.1.tar.gz
Algorithm Hash digest
SHA256 a3bd70435b2f9c4b70c28e99e00a5ac9bd49aadaf3593e4d8891c363da0c9861
MD5 1ea6f86e15c070c2fe6984fe26c481c9
BLAKE2b-256 85aba6312a0d226ae33176b56431ebe3ac207ec8a4660b5e029e8060d19508a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: express_relay-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.9 Linux/5.15.0-1060-azure

File hashes

Hashes for express_relay-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9f1bd1965f525adac39d53b609574bddc8d0df7c2c6a930fc90cfd81870ae8f9
MD5 e73c7c5dc5f0a53e9263506af5e2c53c
BLAKE2b-256 dd5d2978bb52bda6bfc9a021fa09d34222863cfc3563a99a96ff54e84d6f41e3

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