Python SDK
A python sdk to resolve .algo names and perform name operations on ANS .algo names.
Last updated
A python sdk to resolve .algo names and perform name operations on ANS .algo names.
Last updated
A python sdk to resolve .algo names and perform name operations on ANS .algo names.
Install Package
pip
Resolve .algo name to get the address of the owner. The owner of the account is authorized to manage the domain including setting properties and transfer
The value property is set by the owner to return a different address when resolving the domain names.
The content property is set by the user to host a website on web3 infrastructure. This is expected to be either a Skylink content ID or an IPFS content ID
Return text record (socials, avatar etc) set by the owner.
Return the entire domain information for the given domains.
Prepare name registration transactions
This method returns transactions to set the social media handles of a domain name
Retrieve transactions to renew a name. The ANS registry currently supports renewal only by the owner hence the transactions will fail if the input address is not the current owner of the name.
This method returns a transaction to initiate name transfer. The owner is required to set the price for transfer and the recipient's algorand account address.
Retrieve the transactions to complete the transfer by providing the current owner's address, the transfer recipient's address, and the price set by the owner
Returns domains owned by an algorand address
If configured, this method returns the default domain set by an address. If not configured, this method returns the most recently purchased domain by an address