Register a Namesdao .xch name or send XCH to a Namesdao .xch name. Find out more at Namesdao.org.
Sample usage:
$ python3 namesdao.py name register $name $destaddress
$ python3 namesdao.py name register $name $destaddress --cloak -a 0.018
$ python3 namesdao.py name register _nameToRegister.xch _MyExistingName.xch --cloak -a 0.018
$ python3 namesdao.py name register ___nameToRegister.xch xchaddresstoregister --cloak -a 0.000000000001 -m 0.0000000001
$ python3 namesdao.py name register ___nameToRegister.xch xchaddresstoregister -a 0.000000000001 -m 0.0000000001
$ python3 namesdao.py wallet send $address -a $amount -m $fee
$ python3 namesdao.py wallet send hellobilly.xch -a 0.000000000001 -m 0.000000000002
$ python3 namesdao.py wallet resolve $addressOptions:
- $destaddress is a .xch name or a xch address that will receive the new registered name
- $name is a Namesdao .xch name
- $address is the .xch name or xch address to send the XCH to [required for wallet send]
-a, --amount TEXTHow much chia to send, in XCH [required for wallet send]. In the case of name register, if no amount is provided, then NAME tokens will be sent.-e, --memo TEXTAdditional memo for the transaction-k, --cloakUse a cloaked registration-m, --fee TEXTSet the fees for the transaction, in XCH (optional, default value 1 mojo)-M, --Fee TEXTSet the fees for the transaction, in mojos [takes precedence over --fee]-y, --yesExecute without asking for confirmation-h, --helpShow this message and exit
Python 3 is required.
To use cloaked registrations, you will need to install GPG for Python:
On Ubuntu: sudo apt install python3-gpg
See here for other operating systems.
Cloaked registrations encrypt part of the request to prevent others from watching the name you request in the Chia mempool, and trying to register the name before you.
To use a cloaked registration, include --cloak in the command line of your "name register" command.
You can fix the following warning message:
/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.11) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
by running:
$ pip3 install --upgrade requests
MIT License. See LICENSE for details.