Skip to content
Zenroom Transaction Processor for Hyperledger Sawtooth
Python HTML Shell Dockerfile CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
tp
website
.gitignore
.pre-commit-config.yaml
CONTRIBUTING.md
Dockerfile
LICENSE
README.md
docker-compose.yaml
setup.cfg
setup.py

README.md

Blockchain smart-contracts in human language

Sawroom integrates the Zenroom VM to be used as a transaction processor in the Sawtooth blockchain distributed by the Linux Foundation's Hyperledger consortium.

To facilitate the creation of transaction families based on Zenroom and the Zencode human-friendly language for smart-contracts, the Sawroom TP uses the Sawtooth SDK in Python and the zenroom-py bindings.

Quick start

To try the Sawroom setup with a running Sawtooth is best to use the docker-compose inside docker-dyne-software repository:

git clone https://github.com/dyne/docker-dyne-software
cd sawroom
docker-compose up --build

Once all daemons are running, to run a transaction see:

docker exec -it zenroom-tp zenroom-tx --help

This will show you all the commands available from the zenroom-tx cli interface, which takes a Zencode script from stdin and sends its results into a transaction.

keygen

To send a transaction first generate a keypair using the keygen command

docker exec -it zenroom-tp zenroom-tx keygen FILENAME

transaction

docker exec -it zenroom-tp zenroom-tx transaction --help

Configuration

The only environmental configuration accepted is is ZTP_VALIDATOR_ENDPOINT.

Acknowledgements

Copyright (C) 2019 by Dyne.org foundation, Amsterdam

Designed, written and maintained by Puria Nafisi Azizi.

Documentation contributed by Denis Roio.

License

Sawroom is Copyright (c) 2019 by the Dyne.org foundation

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
You can’t perform that action at this time.