This folder contains stellar-sign a simple utility to make it easy to add your signature to a transaction envelope or to verify a transaction signature with a public key.
When run on the terminal it:
Prompts your for a base64-encoded envelope
a. If -verify is used
i. Asks for your public key
ii. Outputs if the transaction has a valid signature or not
b. If in signature mode (default)
i. Asks for your private seed
ii. Outputs a new envelope with your signature added.
Installing
$ go get -u github.com/stellar/go/tools/stellar-sign
Running
$ stellar-sign --help
Usage of ./stellar-sign:
-infile string
transaction envelope
-testnet
Sign or verify the transaction using Testnet passphrase instead of Public
-verify
Verify the transaction instead of signing