Closed tjayrush closed 4 days ago
This may not be as hard as it seems. Every time we process a command line that has addresses in it, we call ResolveEns
. We can rename that to ResolveAliases
and extend that single function to read the names database looking for aliases.
Not worth it. No-one has asked for it.
Users should be able to query by name (for example TrueBlocks-Wallet) of names that they've aliased. So chifra names --alias MyThing 0x12 and then be able to use MyThing everywhere an address is used.
Perhaps this is related to the
--names
capabilities issue.Isn't this the same thing as just naming addresses?
No -- the
--names
capability means that when a address appears, its name is displayed as well.In this case, the user can use the alias to represent the address on the command line:
is the same as
is the same as