Skip to content

Instantly share code, notes, and snippets.

View blurpesec's full-sized avatar

michael - blurpesec blurpesec

View GitHub Profile
@lrettig
lrettig / iceage.py
Created January 18, 2019 15:03
Simulation script for ice age block times
# Date, blocknum, difficulty as of 2019-01-18
# Script by vbuterin, slightly modified by lrettig
import random
import datetime
import sys
def calc_bomb(i):
period = i // 100000
if (period > 0):
# Subtract 2, this is the original formula
@fbonetti
fbonetti / manual_stake_instructions.md
Last active September 17, 2018 20:18
How to manually stake SPANK via MyCrypto

Approving the token transfer

  1. Navigate to the "Contracts" tab on MyCrypto: https://mycrypto.com/contracts/interact
  2. Make sure your network is set to "Ethereum (AUTO)" in the top right corner
  3. Set "Contract Address" to 0x42d6622deCe394b54999Fbd73D108123806f6a18
  4. Paste the following into the "ABI / JSON Interface" textfield:
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outpu