Skip to content

Change CLI #19

Description

@n13

Quantus node CLI commands update

Remove: generate, inspect, insert
Keep: generate-node-key, inspect-node-key, quantus, help

Reasoning
generate is used to create EC keys (schnorr...) - this happens outside our code, in the sc-cli crate
inspect is complex and for EC keys
insert presumably also for EC keys

generate-node-key creates node identity key for libp2p - we still need this
inspect node key - inspects such keys
quantus - creates our keys

> quantus-node key --help
Commands:
  generate-node-key  Generate a random node key, write it to a file or stdout and write the corresponding peer-id to stderr
  generate           Generate a random account
  inspect            Gets a public key and a SS58 address from the provided Secret URI
  inspect-node-key   Load a node key from a file or stdin and print the corresponding peer-id
  insert             Insert a key to the keystore of a node
  quantus            Generate a quantus address
  help               Print this message or the help of the given subcommand(s)

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions