An open API service indexing awesome lists of open source software.

https://github.com/arsulegai/sawtooth-toolkit

Toolkit for the Hyperledger Sawtooth
https://github.com/arsulegai/sawtooth-toolkit

cli hyperledger-sawtooth sawtooth sawtooth-lake toolkit

Last synced: 8 months ago
JSON representation

Toolkit for the Hyperledger Sawtooth

Awesome Lists containing this project

README

          

# SAWTOOTH TOOLKIT

The toolkit to work with the Hyperledger Sawtooth. Refer to the
[https://github.com/hyperledger/sawtooth-core](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](https://www.rust-lang.org/learn)

- cargo 1.45.0-nightly
- rustc 1.45.0-nightly

## Build

Run the following command to generate the binary

```shell script
cargo build
```

Add the following path to your `$PATH` variable

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

## Run

As simple as

```shell script
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

```shell script
sawtooth-toolkit -h
```

Example to convert to the pem formatted file

```shell script
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)](https://developercertificate.org/).

## License

This software is licensed under the
[Apache License Version 2.0](./LICENSE)
software license.