Installing Hyperledger Sawtooth

This procedure describes how to install Hyperledger Sawtooth on a Ubuntu system for proof-of-concept or production use in a Sawtooth network.

  1. Choose whether you want the stable version (recommended) or most recent nightly build (for testing purposes only).

    • (Release 1.1 and later) To add the stable repository, run these commands in a terminal window on your host system.

      $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8AA7AF1F1091A5FD
      $ sudo add-apt-repository 'deb [arch=amd64] http://repo.sawtooth.me/ubuntu/bumper/stable xenial universe'
      

      Note

      The bumper metapackage includes the Sawtooth core software and associated items such as separate consensus software.

    • The v1.1.5 version of Sawtooth is available in a repository of nightly builds. These builds may incorporate undocumented features and should be used for testing purposes only.

      To use the nightly repository, run the following commands in a terminal window on your host system.

      $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 44FC67F19B2466EA
      $ sudo apt-add-repository 'deb [arch=amd64] http://repo.sawtooth.me/ubuntu/nightly xenial universe'
      
  2. Update your package lists, then install Sawtooth and the PoET consensus engine.

    $ sudo apt-get update
    $ sudo apt-get install -y sawtooth python3-sawtooth-poet-engine