Skip to main content

Kuest CLOB Python order-utils

PyPI

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()))

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kuest_py_order_utils-0.3.8.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kuest_py_order_utils-0.3.8-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file kuest_py_order_utils-0.3.8.tar.gz.

File metadata

  • Download URL: kuest_py_order_utils-0.3.8.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for kuest_py_order_utils-0.3.8.tar.gz
Algorithm Hash digest
SHA256 6d3afe8075f3df074e39239d8c43b25690c1b28ee167ab57f153cf4487b55c29
MD5 bbf60849b1f57d90a40ad9fad6353c2d
BLAKE2b-256 a696284eeb9a81d43e8ba45efe5223410e824e0729c27eba6bc11e651cad9a0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for kuest_py_order_utils-0.3.8.tar.gz:

Publisher: release.yaml on kuestcom/py-order-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kuest_py_order_utils-0.3.8-py3-none-any.whl.

File metadata

File hashes

Hashes for kuest_py_order_utils-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ddae763166c8f01946d4cbb429b963326b0c7974f4490a30af671b7ea8db4e3f
MD5 e54bbd34cc590d95e2378d78f85bf40e
BLAKE2b-256 fa52eea82779d832f2370df7dfe44de206631aedb28a47d70c8877f503d9f8b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for kuest_py_order_utils-0.3.8-py3-none-any.whl:

Publisher: release.yaml on kuestcom/py-order-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page