Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cryptocom_tools_identity-2.0.0.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file cryptocom_tools_identity-2.0.0.tar.gz.

File metadata

File hashes

Hashes for cryptocom_tools_identity-2.0.0.tar.gz
Algorithm Hash digest
SHA256 74302a42f80ddd2f996db6581a38275b4d0379ee1f5cdb59b0aa0ca5c88a117d
MD5 7cdb0eb6dffab45896a7aceb8f0ca4a2
BLAKE2b-256 18e1cd89135db40552b1a620203b15ce54f0678b23229adaf2ad8a7fb6cabef2

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