Skip to content

arsulegai/sawtooth-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAWTOOTH TOOLKIT

The toolkit to work with the Hyperledger Sawtooth. Refer to the https://github.com/hyperledger/sawtooth-core for the main source code of the Hyperledger Sawtooth.

Dependencies

The code is written and tested on following version of Rust

  • cargo 1.45.0-nightly
  • rustc 1.45.0-nightly

Build

Run the following command to generate the binary

cargo build

Add the following path to your $PATH variable

current_directory=`pwd`
export PATH=$PATH:$current_directory/target/debug/

Run

As simple as

sawtooth-toolkit

Feature List

Keys

This is a utility to convert the Hyperledger Sawtooth CLI generated keys to the pem formatted filed.

For more usage

sawtooth-toolkit -h

Example to convert to the pem formatted file

sawtooth-toolkit keys convert -inform raw -in user.priv

raw is the format generated by the Hyperledger Sawtooth CLI. user.priv is the filename[path] of the file.

Contributing

You're free to improvise the application, raise a pull request to the original repository after your implementation. Each commit must include Signed-off-by: in the commit message (run git commit -s to auto-sign). This sign off means you agree the commit satisfies the Developer Certificate of Origin(DCO).

License

This software is licensed under the Apache License Version 2.0 software license.

Releases

No releases published

Packages

No packages published

Languages