/riemann-workshop

workshop templates for working with riemann

Primary LanguagePython

SETUP

  1. install pyenv
    1. curl https://pyenv.run | bash
    2. add this to your ~/.bashrc
      export PATH="$HOME/.pyenv/bin:$PATH"
      eval "$(pyenv init -)"
      eval "$(pyenv virtualenv-init -)"
    
    1. restart shell
    2. pyenv --version to ensure it worked
  2. install python 3.7
    1. pyenv install 3.7.0
  3. install pipenv
    1. brew install pipenv OR pip install --user pipenv
  4. checkout the workshop repo
    1. git clone https://github.com/summa-tx/riemann-workshop.git
  5. install the workshop dependencies
    1. pipenv install --python=$(pyenv which python3.7)

Workshop Layout

Documentation for riemann tx library: https://summa-tx.github.io/riemann/

  1. crypto.py - some siple crypto tools
  2. transactions.py - examples for making and signing basic transactions
  3. inspect.py - an example block parser that computes simple block stats
  4. htlc.py - how to build a custom script and spend from it