hyperledger_sawtooth

This is an old revision of the document!


Notes on Sawtooth, based on EDX course chapter for the time being.

$ sudo dnf install docker-ce
$ sudo dnf install docker-compose

Start Docker:

$ sudo systemctl start docker
$ docker-compose -f sawtooth-default.yaml up [&]

In a separate window (not necessarily the same directory):

$ docker exec -it sawtooth-client-default bash

Test from client container:

# curl http://rest-api:8080/blocks

Test from host:

$ curl http://localhost:8080/blocks

To shut things down later:

$ docker-compose -f sawtooth-default.yaml down
  • hyperledger_sawtooth.1521539786.txt.gz
  • Last modified: 2018/03/20 09:56
  • by rpjday