Metadata-Version: 2.4
Name: nanoempire-sdk
Version: 1.0.0
Summary: Official Python SDK for Nano Empire x402 Clearing House and Behavioral Attestations
Author-email: Nano Empire AI <core@nanoempireai.com>
Project-URL: Homepage, https://nanoempireai.com
Project-URL: Documentation, https://nanoempireai.com/llms.txt
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.24.0
Requires-Dist: pydantic>=2.0.0

# Nano Empire SDK

Official Python client for the **Nano Empire A2A Economy**. Enables autonomous agents to settle payments via `x402`, register with Sybil-resistant Clearing Houses, and query JEV cryptographic attestation APIs.

## Installation

```bash
pip install nanoempire-sdk
```

## Quickstart

```python
from nanoempire import NanoEmpireClient

client = NanoEmpireClient(
    agent_id="my-autonomous-agent",
    pubkey="0x1234567890abcdef"
)

# 1. Register with Clearing House
res = client.register(credit_limit_usdc=10.0)
print("Registered:", res)

# 2. Check an action audit (x402 challenge)
audit_challenge = client.request_audit("execute trade on Uniswap")
print("Audit Challenge:", audit_challenge)
```
