Skip to content

Instantly share code, notes, and snippets.

View zigguratt's full-sized avatar

Daniel Ellison zigguratt

View GitHub Profile
@zigguratt
zigguratt / iptables.sh
Last active May 23, 2019 14:46
This demonstrates a minimal but secure firewall configuration to protect an Ethereum client node.
################################################################################
### The Filter table
################################################################################
*filter
# ==============================================================================
# Set default policies to DROP.
-P INPUT DROP
-P OUTPUT DROP
did:muport:QmVbDR86gBaF8JM5trhjwF9WHop1ro2c9cdYMQevHuEU4s
@zigguratt
zigguratt / structure.lll
Last active January 17, 2018 08:24
A contract that illustrates LLL contract structure
;;;; --------------------------------------------------------------------------
;;;; @title A contract that illustrates LLL contract structure.
;;;; @author Daniel Ellison <[email protected]>
(seq
;; Define the macros for this contract.
(include "macros.lll")
;;; -------------------------------------------------------------------------
@zigguratt
zigguratt / macros.lll
Last active January 17, 2018 08:24
Macros for the structure contract
;;;; --------------------------------------------------------------------------
;;;; @title Macros for the structure contract.
;;;; @author Daniel Ellison <[email protected]>
(seq
;; Memory layout.
(def '*scratch* 0x00)
(def '*funcid* 0x20)

Keybase proof

I hereby claim:

  • I am zigguratt on github.
  • I am zigguratt (https://keybase.io/zigguratt) on keybase.
  • I have a public key whose fingerprint is 0CDD 4F00 A923 E060 AED6 5C30 9D62 4833 CCAC 220C

To claim this, I am signing this object:

Verifying that +dellison is my blockchain ID. https://onename.com/dellison
Verifying that +zigguratt is my blockchain ID. https://onename.com/zigguratt