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

Uploaded Source

Built Distribution

express_relay-0.7.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: express_relay-0.7.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/5.15.0-1064-azure

File hashes

Hashes for express_relay-0.7.0.tar.gz
Algorithm Hash digest
SHA256 1740d4fcedb4ec83db90a7be0242b708c30990146a9debed93a0a98513f2ee6a
MD5 043404446a9901d70276ac085f24b98f
BLAKE2b-256 c21a167489816d01dc77e61c6b66437498b4063d82983829c37a3e7895fb44dd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for express_relay-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f4d65315a53177dfd6b30296aee67ab58ad95208fdfb73b45e3db4a833a5b72
MD5 f599d20f5b15df156b1d4d74aef43468
BLAKE2b-256 938fc2566bad24d90b0e719e52464d5ddd6bb9a25867074fe06324bd4159d8ba

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