suibase icon indicating copy to clipboard operation
suibase copied to clipboard

Integrate address "alias" feature

Open mario4tier opened this issue 2 years ago • 1 comments

Use Mysten Labs address alias file to refactor the DNS-Like feature of Suibase.

Also support alias for all Suibase commands. As an example: "localnet faucet myalias" to add coins to "myalias" address.

===

Related PR: https://github.com/MystenLabs/sui/pull/13738 https://github.com/MystenLabs/sui/pull/15162 https://github.com/MystenLabs/sui/pull/15172

The filename is sui.aliases co-located with the client.yaml

mario4tier avatar Dec 07 '23 17:12 mario4tier

Suibase renames only its own generated addresses. It never touches user defined aliases.

Name convention is documented in the Helper docs: https://chainmovers.github.io/suibase-api-docs/suibase/struct.Helper.html#method.client_sui_address

Example: image

mario4tier avatar Dec 11 '23 06:12 mario4tier