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.8.1.tar.gz
.
File metadata
- Download URL: express_relay-0.8.1.tar.gz
- Upload date:
- Size: 11.0 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 | f9c77ce2337293322c23f22d852dbab77c427790ded8d1a1bcd4023e8e08dfec |
|
MD5 | 227f938a3ee78ede00c9fe6904a7009d |
|
BLAKE2b-256 | a37979bfad3e6f8e66a5856e32bb5c617c80c95bb1386084db1abcf3933b9c9c |
File details
Details for the file express_relay-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: express_relay-0.8.1-py3-none-any.whl
- Upload date:
- Size: 12.4 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 | 8a6af211c42316567b27feb102d5b923a714b33590a6dba443c18c5be302f406 |
|
MD5 | 4ea839a0ec5d21ba2e08e5cf77c16f63 |
|
BLAKE2b-256 | 703ee34ecf32db88f36122acdb69fe03a2c82c6be1a044b3e5e7b80313f1d78f |