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.1.0.tar.gz (3.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.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skalor_usdt-0.1.0.tar.gz
  • Upload date:
  • Size: 3.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.1.0.tar.gz
Algorithm Hash digest
SHA256 632731fc2151fb0c509b8c409eed349c4a7e5f3492590f6f8c7742d1924fa899
MD5 1ed3a69ccdbe445e6ecfdc9beff4812d
BLAKE2b-256 f9a747179bdb5d5a78f649978e53dc7015a603a76021acb1f1e492b758be26ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skalor_usdt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 947b2ed25f737dd2d9a95e67230d7d4b4a7b908ba89da1fe2a73753b1f9ac1d8
MD5 fc6e8c81566abacd7c74710359edf24c
BLAKE2b-256 8ab5cb12ce6352fc9d90b1482d158c8564a7c8721097023d9d168de7f4b49f8e

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