Setting up addresses
In order to send transactions (tx) to the IOV Name Service, you need to have your star address set up.

Command helper

You can get a full description of how to create addresses on the CLI by running
1
iovnscli keys add --help
Copied!

Creating your local private/public key and address with name

You can simply run the command keys add
1
iovnscli keys add <your_key_name>
Copied!
and you will get this
1
{
2
"name":<your_key_name>,
3
"type":"local",
4
"address":"star128udjaql9dq06netfty5etnxu9cjvnp2mfsejg",
5
"pubkey":"starpub1addwnpepq0knzm90kjh7q8rnr5fqhtmnqmnzyqy63znvpekxdhp03h3aev3fzldgkn7",
6
"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"
7
}
Copied!
In most CLI commands, you can use the keys name in place of the address, which makes it easier to use.

Importing your existing wallet

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.
1
iovnscli keys add benkeys --recover
2
> Enter your bip39 mnemonic
3
...
Copied!

Checking your saved CLI wallet

You can always check the keys associated with a local key name with the command keys show
1
iovnscli keys show benkeys
2
{
3
"name": "benkeys",
4
"type": "local",
5
"address": "star10lalxx8ml63hs86j64nk76kucf72dsucluexz8",
6
"pubkey": "starpub1addwnpepqdg4uephp9xj2zw8k8yjutghhl4qxgwy9d9elxxfv80ez5vgkyes25gpkdh"
7
}
Copied!
Last modified 1yr ago