stacks-core icon indicating copy to clipboard operation
stacks-core copied to clipboard

Add vote for cli command

Open jferrant opened this issue 1 year ago • 0 comments

Added two commands:

generate-vote: prints a vote signature across a SIP and vote value using the provided key verify-vote: prints whether the message signature verifies against the provided info and public key

e.g. (Note PRIVATE_KEY, PUBLIC_KEY, and SIGNATURE are in hexadecimal format)

stacks-signer generate-vote --sip 10 --vote yes -p [PRIVATE_KEY] stacks-signer verify-vote --sip 10 --vote yes -p [PUBLIC_KEY] -s [SIGNATURE]

jferrant avatar Jul 01 '24 17:07 jferrant