Skip to content

Revisit miden client aliases #252

Description

@TomasArrachea

The current list of available aliases for v0.16 are: account, build, call, deploy, faucet, mint, new, new-wallet, simulate, transfer.

These aliases don't cover the basic wallet flow: there is no alias for sync, notes, or consume-notes; so users have to mix miden new-wallet with miden client sync.

Some aliases also rename the underlying client command: account -> new-account (note that the client also has a separate miden-client account command), faucet -> mint, simulate -> exec). I think that having different namings makes things confusing.

We should make the alias have the same name as the client command, it would look like:

  • new-wallet - expands to miden-client new-wallet
  • sync - expands to miden-client sync
  • consumable-notes - expands to miden-client notes --list consumable
  • consume-notes - expands to miden-client consume-notes
  • transfer - expands to miden-client transfer
  • call - expands to miden-client call
  • exec - expands to miden-client exec.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions