Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 669 Bytes

cast-wallet-sign.md

File metadata and controls

39 lines (23 loc) · 669 Bytes

cast wallet sign

NAME

cast-wallet-sign - Sign a message.

SYNOPSIS

cast wallet sign [options] message

DESCRIPTION

Sign a message.

OPTIONS

{{#include ../common/wallet-options-raw.md}}

{{#include ../common/wallet-options-keystore.md}}

{{#include ../common/wallet-options-hardware.md}}

{{#include common-options.md}}

EXAMPLES

  1. Sign a message using a keystore:

    cast wallet sign --keystore keystore.json --interactive "hello"
  2. Sign a message using a raw private key:

    cast wallet sign --private-key $PRIV_KEY "hello"

SEE ALSO

cast, cast wallet