Skip to main content

Skalor USDT — fiduciary control layer for AI agent USDT payments

Project description

skalor-usdt (Python)

Python SDK for Skalor USDT — 8 fiduciary gates before Tether WDK executes.

Install

pip install skalor-usdt

Usage

import os
from skalor_usdt import SkalorUsdt, GateRejectedError

client = SkalorUsdt(api_key=os.environ["SKALOR_API_KEY"])

try:
    result = client.authorize_usdt(
        agent_id=os.environ["AGENT_ID"],
        amount_usdt=312.00,
        vendor="https://ec2.amazonaws.com",
        intent="Provision ML training infrastructure for Q2 pipeline",
        chain="ethereum",
        wdk_recipient_address="0x...vendor_wallet",
    )
    # Pass result.wdk_call.params directly to WDK's transfer tool
    print(result.clearance_receipt.signature)

except GateRejectedError as e:
    print(f"Blocked at {e.gate}: {e}")

Async:

result = await client.authorize_usdt_async(...)

Supported chains

ethereum · polygon · arbitrum · optimism · base · avalanche · bnb · plasma · tron · ton · solana · bitcoin · spark

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

skalor_usdt-0.2.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

skalor_usdt-0.2.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file skalor_usdt-0.2.0.tar.gz.

File metadata

  • Download URL: skalor_usdt-0.2.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for skalor_usdt-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e594aeca90d37c1f0fd42cb9b61909aab7b291e583659eac0f7351f694c0e07d
MD5 d9f692edd856180153c612bbb6a15d8e
BLAKE2b-256 765cc5206ce9fb8c7355baa7ce726a4e80472f6afde81ef1ae5d382afd9d0282

See more details on using hashes here.

File details

Details for the file skalor_usdt-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: skalor_usdt-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for skalor_usdt-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2d620f4d34d3d3aec162ceabb296ccd08ad93ea4443ab336d9d3ce2a1885912
MD5 19250f4979a8c36d30600bb7a7bad333
BLAKE2b-256 3c42b2167db866d55c603fe183952b943a6cb5b602d85354f04768f23f53944b

See more details on using hashes here.

Supported by

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