Metadata-Version: 2.4
Name: skalor-usdt
Version: 0.1.0
Summary: Skalor USDT — fiduciary control layer for AI agent USDT payments
Project-URL: Homepage, https://skalor.xyz
Project-URL: Repository, https://github.com/SkalorAI/skalor-usdt
Project-URL: Documentation, https://skalor.xyz/docs
License: MIT
Keywords: agents,ai,fiduciary,payments,tether,usdt,wdk
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.11
Requires-Dist: httpx>=0.27.0
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-asyncio; extra == 'dev'
Requires-Dist: respx; extra == 'dev'
Description-Content-Type: text/markdown

# skalor-usdt (Python)

Python SDK for [Skalor USDT](https://skalor.xyz) — 8 fiduciary gates before Tether WDK executes.

## Install

```bash
pip install skalor-usdt
```

## Usage

```python
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:

```python
result = await client.authorize_usdt_async(...)
```

## Supported chains

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