Metadata-Version: 2.4
Name: cryptocom-tools-identity
Version: 2.0.0
Summary: CronosID identity tools for Crypto.com Developer Platform
Author-email: "Crypto.com" <support@crypto.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/crypto-com/agent-client-py
Project-URL: Documentation, https://github.com/crypto-com/agent-client-py
Project-URL: Repository, https://github.com/crypto-com/agent-client-py
Project-URL: Bug Tracker, https://github.com/crypto-com/agent-client-py/issues
Keywords: blockchain,crypto,cronos,cronosid,identity,web3
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cryptocom-tools-core>=2.0.0
Requires-Dist: crypto-com-developer-platform-client>=1.0.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: web3>=6.0.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: basedpyright>=1.13.0; extra == "dev"
Dynamic: license-file

# cryptocom-tools-identity

CronosID identity tools for the Crypto.com Developer Platform.

## Installation

```bash
pip install cryptocom-tools-identity
```

## Tools

- **ResolveCronosIdTool** - Resolve a CronosID name to its blockchain address
- **LookupAddressTool** - Look up the CronosID name for a blockchain address (reverse lookup)

## Usage

```python
import os
from cryptocom_tools_identity import ResolveCronosIdTool, LookupAddressTool

# Resolve name to address
resolve_tool = ResolveCronosIdTool()
result = resolve_tool.invoke({"name": "alice.cro"})
print(result)

# Reverse lookup: address to name
lookup_tool = LookupAddressTool()
result = lookup_tool.invoke({"address": "0x..."})
print(result)
```

## Environment Variables

- `CRYPTOCOM_DEVELOPER_PLATFORM_API_KEY` - CDP API key (auto-read by CDPTool)

## License

MIT
