CronosID identity tools for Crypto.com Developer Platform
Project description
cryptocom-tools-identity
CronosID identity tools for the Crypto.com Developer Platform.
Installation
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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cryptocom_tools_identity-2.0.0.tar.gz.
File metadata
- Download URL: cryptocom_tools_identity-2.0.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74302a42f80ddd2f996db6581a38275b4d0379ee1f5cdb59b0aa0ca5c88a117d
|
|
| MD5 |
7cdb0eb6dffab45896a7aceb8f0ca4a2
|
|
| BLAKE2b-256 |
18e1cd89135db40552b1a620203b15ce54f0678b23229adaf2ad8a7fb6cabef2
|