Comment on page
Setting up addresses
In order to send transactions (tx) to the IOV Name Service, you need to have your star address set up.
You can get a full description of how to create addresses on the CLI by running
iovnscli keys add --help
You can simply run the command
keys add
iovnscli keys add <your_key_name>
and you will get this
{
"name":<your_key_name>,
"type":"local",
"address":"star128udjaql9dq06netfty5etnxu9cjvnp2mfsejg",
"pubkey":"starpub1addwnpepq0knzm90kjh7q8rnr5fqhtmnqmnzyqy63znvpekxdhp03h3aev3fzldgkn7",
"mnemonic":"job satisfy drill fiscal refuse during off alcohol artefact horn list mix judge oblige spend such distance task elegant party author quit prosper dance"
}
In most CLI commands, you can use the keys name in place of the address, which makes it easier to use.
If you already have your mnemonic, you can recover your address with the flag
--recover
which will prompt you to enter your 12 words mnemonic and associate the result to the name you have provided.iovnscli keys add benkeys --recover
> Enter your bip39 mnemonic
...
You can always check the keys associated with a local key name with the command
keys show
iovnscli keys show benkeys
{
"name": "benkeys",
"type": "local",
"address": "star10lalxx8ml63hs86j64nk76kucf72dsucluexz8",
"pubkey": "starpub1addwnpepqdg4uephp9xj2zw8k8yjutghhl4qxgwy9d9elxxfv80ez5vgkyes25gpkdh"
}
Last modified 3yr ago