Generating a Private Key using "mina advanced --generate-keypair"

Hi all,
To generate a private key using the “mina advanced --generate-keypair” command, I encountered the following error:
“unknown sub command --generate-keypair.”
Could you please suggest how to resolve this error?

reference link :- https://docs.minaprotocol.com/node-operators/mina-cli-reference


Thank you.

1 Like

It’s mina advanced generate-keypair The options are then --privkey-path FILE File to write private key into (public key will be FILE.pub)

See the help for more mina advanced generate-keypair -help

1 Like

Hi @garethtdavies

Thanks for Your response,

1 Like