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
- Host: GitHub
- URL: https://github.com/arsulegai/sawtooth-toolkit
- Owner: arsulegai
- License: apache-2.0
- Created: 2020-09-19T13:44:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-19T03:45:41.000Z (about 5 years ago)
- Last Synced: 2025-01-11T22:14:12.755Z (10 months ago)
- Topics: cli, hyperledger-sawtooth, sawtooth, sawtooth-lake, toolkit
- Language: Rust
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.