Skip to content
/ Signer Public

Small go cmdline tool to read xdr encoded stellar transaction from a file, sign them, and write them to a new file or submit them

License

Notifications You must be signed in to change notification settings

LeeSmet/Signer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Signer

This is a small tool to sign threefold minting payout files. A minting payout file is a line separated file, containing base64 XDR encoded transactions. The output is a similar file, with a signature added on each input transaction.

Building

Building requires a recent version of the go compiler to be installed on the system. It is assumed that git is used to get the code

git clone https://github.com/leesmet/signer
cd signer
go build

Running

Once a local copy is available, you can run the code as follows

./signer -inputfile <FILE_WITH_TRANSACTIONS_TO_SIGN> -outputfile
<FILE_SIGNED_BY_ME_MYSELF_AND_I> -wallet-secret <YOURSTELLARSECRET>

The -h flag can be used to see the available options.

Submitting transactions

If you are the last required signer, the -submit flag can be used to also submit the transactions to the stellar network.

Disclaimer

As always when providing secrets to an application, you should manually review the code, and take other recommended precautions, to make sure no funny business is happening.

License

This project is licensed under the MIT license, available in ./LICENSE

About

Small go cmdline tool to read xdr encoded stellar transaction from a file, sign them, and write them to a new file or submit them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages