Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am erainey on github.
  • I am erainey (https://keybase.io/erainey) on keybase.
  • I have a public key whose fingerprint is 0854 8B6D 5E01 B3E0 5BA2 98DF 537C 8B78 29B7 4155

To claim this, I am signing this object:

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@erainey
erainey / README.txt
Last active March 13, 2022 15:43
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.17+commit.bdeb9e52.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads for the very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@erainey
erainey / heist.go
Created December 5, 2022 19:36
"Bank Heist" exercise from Codeacademy's "Learn Go: Conditionals" chapter
package main
import (
"fmt"
"math/rand"
"time"
)
func main() {
rand.Seed(time.Now().UnixNano())