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.
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, open the petition API at http://localhost:9009 (or substitute localhost
with the IP of the machine running sawroom)
To try the command-line client use:
docker exec -it petition-tp petition --help
The only environmental configuration accepted is is ZTP_VALIDATOR_ENDPOINT
.
Copyright (C) 2019 by Dyne.org foundation, Amsterdam
Designed, written and maintained by Puria Nafisi Azizi.
Documentation contributed by Denis Roio.
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/>.