Skip to content

Instantly share code, notes, and snippets.

@baketzforme
baketzforme / keybase.md
Last active August 23, 2018 17:35
Keybase Proof

Keybase proof

I hereby claim:

  • I am baketzforme on github.
  • I am baketzforme (https://keybase.io/baketzforme) on keybase.
  • I have a public key ASDG7yNIpzFQohiTs75RTEw_jBfKoA8zoY_OD_gCtqxdYAo

To claim this, I am signing this object:

@baketzforme
baketzforme / rpi.sh
Last active November 3, 2018 05:07
Tezos Node on Raspberry Pi 3 B+
# Installing a Tezos node on a Raspberry Pi 3 B+ (running Raspbian (Debian Stretch) Minimal install from NOOBS Lite 2.8):
sudo apt-get install -y patch unzip make gcc m4 git g++ aspcud bubblewrap curl bzip2 rsync libgmp3-dev libev-dev libhidapi-dev fail2ban ntp
sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/561fb4759fa2184525d0c74bf7c3accbb1edd2dc/shell/install.sh)
opam init --compiler=4.06.1
eval $(opam env)
git clone -b betanet https://gitlab.com/tezos/tezos.git
cd tezos
make build-deps
eval $(opam env)
@baketzforme
baketzforme / TezosVanity.md
Last active November 10, 2023 19:28
Tezos Vanity Address with Seed Phrase

WARNING: Vanity addresses generated with this tool may not be widely supported in various wallets anymore. They may consider the addresses generated with this tool to be "legacy" wallets. Therefore I no longer recommended generating vanity addresses using this method.

After seeing the recently posted How To Generate A Tezos Vanity Address, I thought I'd share a method I've used to generate a vanity address that has the benefit of being able to easily be restored or transferred to another wallet from a seed phrase backup.

Most of the credit goes to Stephen Andrews. I've just slightly modified some of the code he wrote to get it to work the way I want.

Everything below assumes you are working from the Linux command line (tested in Debian/Ubuntu distributions):

First, clone Stephen Andrews' eztz repository from github:

@baketzforme
baketzforme / pay.py
Last active July 6, 2020 20:35
Python script for Tezos payouts
# Useful Python 2.x script for Tezos bakers to calculate payouts for their delegators
# Original credit goes to /u/8x1_ from https://reddit.com/r/tezos/comments/98jwb4/paypy_there_is_no_more_excuse_for_not_paying/
# Released under the MIT License - See bottom of file for license information
import urllib
import json
import random
import sys
####################################################################