cast-wallet-sign - Sign a message.
cast wallet sign
[options] message
Sign a message.
{{#include ../common/wallet-options-raw.md}}
{{#include ../common/wallet-options-keystore.md}}
{{#include ../common/wallet-options-hardware.md}}
{{#include common-options.md}}
-
Sign a message using a keystore:
cast wallet sign --keystore keystore.json --interactive "hello"
-
Sign a message using a raw private key:
cast wallet sign --private-key $PRIV_KEY "hello"