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
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
verifyaname-0.1.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for verifyaname-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 437c0bb1d968a6a5d7a07683987b6ae8ab4a0a5ea71064d3f5a4547deb122b37 |
|
MD5 | b4b5211f407aaac9cb5a04d9474e6f68 |
|
BLAKE2b-256 | 68b7ed238f6e82b2fb725f38ba4be8b4370d791284d0ec267f7f33eee22c266b |