Skip to main content

Aname verification library

Project description

Example how to generate verification string for your domain

from verifyaname.verification_string import generate_verification_string
from cosmpy.aerial.wallet import LocalWallet

DOMAIN = "fetch-ai.com"

alice_wallet = LocalWallet.from_unsafe_seed("Alice seed")

# Generate verification string for Alice
verification_string = generate_verification_string(
    wallet=alice_wallet, domain=DOMAIN, address=str(alice_wallet.address())
)

This string needs to be stored to domain DNS TXT record under key fetch-ans-token=

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

verifyaname-0.1.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

verifyaname-0.1.0-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page