Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# NB Requires imagemagick installed
# Font to use
FONT="Lato-Black"
# Background colours
colours=("red" "green" "blue" "peru" "orange" "firebrick2" "PaleVioletRed" "brown4" "purple4" "violet" "DeepPink4" "orchid2" "orchid4" "MediumPurple4" "navy" "RoyalBlue3" "DodgerBlue2" "SpringGreen3" "SeaGreen" "DarkOliveGreen" "gold3" "SaddleBrown")
@jonknight73
jonknight73 / gist:b5638e6378fd7a782c1683a8f4dc7412
Created October 15, 2019 08:27
Initialise a new monetd smart contract, pulling the whitelist from an existing running smart contract
$ monetd config contract $(monetcli poa whitelist 2> /dev/null | jq -r '.[] | "\(.moniker)=\(.address)"')