Python utilities used to generate and sign orders for the Kuest CTF Exchange
Project description
Kuest CLOB Python order-utils
Python utilities used to generate and sign orders for the Kuest CTF Exchange
Install
pip install kuest-py-order-utils
Usage
from py_order_utils.builders import OrderBuilder
from py_order_utils.signer import Signer
from pprint import pprint
def main():
exchange_address = "0x...."
chain_id = 80002
signer = Signer("0x....")
builder = OrderBuilder(exchange_address, chain_id, signer)
# Create and sign the order
order = builder.build_signed_order(
OrderData(
...
)
)
# Generate the Order and Signature json to be sent to the CLOB API
pprint(json.dumps(order.dict()))
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kuest_py_order_utils-0.3.3.tar.gz.
File metadata
- Download URL: kuest_py_order_utils-0.3.3.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be8161a45f6f5deabfaa7be54d848758e660e4f851ef263d9858acbfbe55af23
|
|
| MD5 |
617822d4e42bdfb5eae999eb776e3d1c
|
|
| BLAKE2b-256 |
01343b5a976f4297b7b576ab54e954a1fa4feffd52367ecae18a0586d8e1d696
|
Provenance
The following attestation bundles were made for kuest_py_order_utils-0.3.3.tar.gz:
Publisher:
release.yaml on kuestcom/py-order-utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kuest_py_order_utils-0.3.3.tar.gz -
Subject digest:
be8161a45f6f5deabfaa7be54d848758e660e4f851ef263d9858acbfbe55af23 - Sigstore transparency entry: 870429086
- Sigstore integration time:
-
Permalink:
kuestcom/py-order-utils@be031b47a4e4121fea34560b7cd3ef82cb42baa0 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/kuestcom
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@be031b47a4e4121fea34560b7cd3ef82cb42baa0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file kuest_py_order_utils-0.3.3-py3-none-any.whl.
File metadata
- Download URL: kuest_py_order_utils-0.3.3-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73141b2e8f05d4a5ad33ea54a1a923388244fcb972ae03472cbe3662892c569b
|
|
| MD5 |
e46abae71c8595e5535e3fb152f8e959
|
|
| BLAKE2b-256 |
544d6a6e664a167ae82f5bf508cfe93ac9d6a26eb59d43c601005e84e25acc2c
|
Provenance
The following attestation bundles were made for kuest_py_order_utils-0.3.3-py3-none-any.whl:
Publisher:
release.yaml on kuestcom/py-order-utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kuest_py_order_utils-0.3.3-py3-none-any.whl -
Subject digest:
73141b2e8f05d4a5ad33ea54a1a923388244fcb972ae03472cbe3662892c569b - Sigstore transparency entry: 870429130
- Sigstore integration time:
-
Permalink:
kuestcom/py-order-utils@be031b47a4e4121fea34560b7cd3ef82cb42baa0 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/kuestcom
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@be031b47a4e4121fea34560b7cd3ef82cb42baa0 -
Trigger Event:
release
-
Statement type: