Addresses and IOV Tokens
Querying the IOV Name Service, like resolving starnames, does not require any set up from the user. However sending transactions to the IOV Name Service requires an address and IOV Tokens.
Creating addresses
You can create addresses by reading Setting up addresses and multisig by reading Creating a Multisig
Signing transaction is done automatically in the CLI when your private key is registered locally. It can also be done off line, which is mandatory for multisig (Signing with a Multisig).
Querying your account (or anyone's account)
Ownership records are public on the IOV Name Service. It means that anyone can query the balance of IOV tokens are a given address with the command query account
which will return something like
The denom is the unit of the amount of the balance. In Cosmos SDK, the unit is in micro (u), hence it is uvoi. A micro IOV is 0.000001 IOV, or 1e-6 IOV.
Receiving and sending IOV Tokens
Once your address is set up, you can receive IOV tokens (and starnames) to your address. You can also send IOV tokens and starnames you own to other star addresses. The command for IOV Tokens is simply send
The arguments of the send
command are the from address, the to address and the amount of IOV tokens in uVOI, with the --fees flag for the gas.
Description | |
from | the sender of IOV Tokens |
to | the recipient of IOV Tokens |
amount | the amount of IOV Tokens sent |
--fees | the gas fees |
For sending starnames, you can read the Advanced features
Last updated