Setting Starname info
Once you have registered a starname, you can associate address to it so that others can know how to reach you.
The command to associate info to your starname is replace-resources
Flags | Description |
--domain | the domain part of the starname to edit |
--name | the name part of the starname to edit (if not empty) |
--src | the json file with the data to associate. The json needs to be in the format of a list of pairs of [{"uri":..., "resource":...}]. The max number of addresses per starname is set in the configuration |
--from | the signer of the transaction, which needs to be the owner of the starname |
--fees | the gas fees for the transaction |
The --src
file might typically look like this:
You can check that the info has been correctly updated by resolving the starname
Targets format
For the resolver to work, the target for a coin or asset needs to be composed of two parts:
the
URI
: a stringtype
and an stringidentifier
separated by a:
,type:identifier
.The first string is the type of identifier provided by the second string. At launch, the IOV Name Service resolves only the typeasset
but you can input any type in the URI. A URI of typeasset
is expecting anidentifier
within the Symbol listthe
resource
: this is the string returned by the resolver when asked for this specificURI
. This is typically an address working with the coin identified in theURI
.
The valid format for targets can be checked with the configuration get-config
command
Last updated