Skip to content

Instantly share code, notes, and snippets.

@zitterbewegung
zitterbewegung / Guide
Last active August 23, 2025 16:45
Psychic Paper Quickstart.
# 1) Copy your files to the Pi (adjust path/host as needed)
# Put setup-inky-app.sh, main.py, requirements-2.txt in the same folder.
# From your local machine:
# scp setup-inky-app.sh main.py requirements-2.txt [email protected]:/home/pi/
# 2) SSH into the Pi:
# ssh [email protected]
# 3) Run the setup (as root):
sudo bash ./setup-inky-app.sh
@askmish
askmish / gist:a23bde6f2e59e4256be8afe965a9166b
Created March 27, 2018 13:24
How to setup two validators in a network - dev_mode - sawtooth components running as a service
In a multi validator setup, one node should be genesis and the rest of the nodes would be peering from genesis node or each other.
Here, we'll setup a two validator network, i.e. two nodes - one a genesis validator and the other a peer validator
We'll use the default dev_mode consensus and the sawtooth components will run as a service.
Step-by-step setting up the genesis validator:(A fresh ubuntu 16.04 LTS x64 machine)
====================================================================================
# add the sawtooth repo in apt
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8AA7AF1F1091A5FD