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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file express_relay-0.5.0.tar.gz
.
File metadata
- Download URL: express_relay-0.5.0.tar.gz
- Upload date:
- Size: 8.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43b5b6ab73fce38c460e8272742b70a81342a0b81750a158b82f283bb7afecfe |
|
MD5 | 83c19bceb51d58413968a6f71e78d582 |
|
BLAKE2b-256 | 34457effc33695c11a67bc7bf505207f56848aa29e450ce885b3130987c7f829 |
File details
Details for the file express_relay-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: express_relay-0.5.0-py3-none-any.whl
- Upload date:
- Size: 9.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7592202febe69bbce27e2c4c7e341b977b63cc48d704225c2be637e760d1fbb6 |
|
MD5 | 9db699909ef743f0d85dded435d44516 |
|
BLAKE2b-256 | 939e07524ca8659133289159c905bd2c8daeb08c7ce1a79126fde5c6605a9513 |